summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-12-09 07:27:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-11 05:28:27 (GMT)
commit66ab84b99cdff3d650c9458aa737916735aebfcc (patch)
tree2662c53bbcaac8e8c8708f25f40d991b8f3fb054 /commit.h
parent060610c572b21d00bb09ebbab664c0452c7eac9d (diff)
downloadgit-66ab84b99cdff3d650c9458aa737916735aebfcc.zip
git-66ab84b99cdff3d650c9458aa737916735aebfcc.tar.gz
git-66ab84b99cdff3d650c9458aa737916735aebfcc.tar.bz2
git-svn: reinstate old rev_db optimization in new rev_map
This reinstates an old optimization in .rev_db which stored the highest revision number we scanned, allowing us to avoid scanning the SVN log for those revisions again in a subsequent invocation. This means the last 24-byte record in a .rev_map file can be a 4-byte SVN revision number with 20-bytes of zeroes representing a non-existent commit. This record can and will be overwritten when a new commit iff the commit is all zeroes. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions