]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-svn: Correctly report max revision when following deleted paths
authorAlex Vandiver <alexmv@MIT.EDU>
Wed, 6 May 2009 20:18:53 +0000 (16:18 -0400)
committerEric Wong <normalperson@yhbt.net>
Thu, 21 May 2009 07:31:08 +0000 (00:31 -0700)
Report the maximum found revision in the range, instead of the minimum
changed revision.

Signed-off-by: Alex Vandiver <alexmv@mit.edu>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl

index 5836ddec8a8070516cf020f93c09d821147171cb..eebcf0f20ebc4b899aeaeb5ac06d8f3a394b4407 100755 (executable)
@@ -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";