diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-12-08 23:27:42 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-10 21:28:27 -0800 |
commit | 66ab84b99cdff3d650c9458aa737916735aebfcc (patch) | |
tree | 2662c53bbcaac8e8c8708f25f40d991b8f3fb054 /config.c | |
parent | 060610c572b21d00bb09ebbab664c0452c7eac9d (diff) | |
download | git-66ab84b99cdff3d650c9458aa737916735aebfcc.tar.gz git-66ab84b99cdff3d650c9458aa737916735aebfcc.tar.xz |
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 'config.c')
0 files changed, 0 insertions, 0 deletions