@matheusbsbs / matheus-bagliano / commits / b6c61778d4
Fork 0

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 <alexmv@mit.edu> Acked-by: Eric Wong <normalperson@yhbt.net>

Alex Vandiver committed May 6, 2009 at 16:18 UTC b6c61778d4fa57904d5b818e0ca04292aa1d0335
1 file changed +1 -1
git-svn.perl
+1 -1
@@ -4471,7 +4471,7 @@ sub gs_fetch_loop_common {
4471 my $ok;
4472 $self->get_log([$longest_path], $min, $hi,
4473 0, 1, 1, sub {
4474 - $ok ||= $_[1];
4474 + $ok = $_[1];
4475 $revs{$_[1]} = _cb(@_) });
4476 if ($ok) {
4477 print STDERR "r$min .. r$ok OK\n";