Cache the HEAD value
authorCatalin Marinas <catalin.marinas@gmail.com>
Tue, 4 Oct 2005 19:56:18 +0000 (20:56 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 4 Oct 2005 19:56:18 +0000 (20:56 +0100)
commitaa01a285716ffb29a62cd7d2ef5663fa2b73f568
treefa4eb1eb8c72227c76ec61b04fd986206f89ca7d
parent3097799dcde97cc3e1e3d6c87138f300df0ec2b6
Cache the HEAD value

There are many calls to git.get_head(). This value should be cached to
speed things up.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/git.py