From: Eric Wong Date: Sun, 9 Dec 2007 07:27:42 +0000 (-0800) Subject: git-svn: reinstate old rev_db optimization in new rev_map X-Git-Tag: v1.5.4-rc0~3^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/66ab84b99cdff3d650c9458aa737916735aebfcc?hp=66ab84b99cdff3d650c9458aa737916735aebfcc 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 Signed-off-by: Junio C Hamano ---