author | Ben Jackson <ben@ben.com> | |
Thu, 4 Jun 2009 03:45:51 +0000 (20:45 -0700) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Thu, 25 Jun 2009 07:38:16 +0000 (00:38 -0700) | ||
commit | ca5e880ec2172f33dd0113129775f6eb65f2f678 | |
tree | 00c97849c44dd48e03169306e2ff0dfe4d9f71fe | tree | snapshot |
parent | 9a8c92ac9e4698da150a413ce80f185005447f4c | commit | diff |
git-svn: speed up find_rev_before
By limiting start revision of find_rev_before to max existing
revision. This avoids a long wait if you do
'git svn reset -r 9999999'. The linear search within the
contiguous revisions doesn't seem to be a problem.
[ew: expanded commit message]
Signed-off-by: Ben Jackson <ben@ben.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
By limiting start revision of find_rev_before to max existing
revision. This avoids a long wait if you do
'git svn reset -r 9999999'. The linear search within the
contiguous revisions doesn't seem to be a problem.
[ew: expanded commit message]
Signed-off-by: Ben Jackson <ben@ben.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | diff | blob | history |