From: Alex Vandiver Date: Wed, 6 May 2009 20:18:53 +0000 (-0400) Subject: git-svn: Correctly report max revision when following deleted paths X-Git-Tag: v1.6.4-rc0~149^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b6c61778d4fa57904d5b818e0ca04292aa1d0335;p=git.git git-svn: Correctly report max revision when following deleted paths Report the maximum found revision in the range, instead of the minimum changed revision. Signed-off-by: Alex Vandiver Acked-by: Eric Wong --- diff --git a/git-svn.perl b/git-svn.perl index 5836ddec8..eebcf0f20 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -4471,7 +4471,7 @@ sub gs_fetch_loop_common { my $ok; $self->get_log([$longest_path], $min, $hi, 0, 1, 1, sub { - $ok ||= $_[1]; + $ok = $_[1]; $revs{$_[1]} = _cb(@_) }); if ($ok) { print STDERR "r$min .. r$ok OK\n";