提交 b6c61778 编写于 作者: A Alex Vandiver 提交者: Eric Wong

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: NAlex Vandiver <alexmv@mit.edu>
Acked-by: NEric Wong <normalperson@yhbt.net>
上级 c69700fe
...@@ -4471,7 +4471,7 @@ sub gs_fetch_loop_common { ...@@ -4471,7 +4471,7 @@ sub gs_fetch_loop_common {
my $ok; my $ok;
$self->get_log([$longest_path], $min, $hi, $self->get_log([$longest_path], $min, $hi,
0, 1, 1, sub { 0, 1, 1, sub {
$ok ||= $_[1]; $ok = $_[1];
$revs{$_[1]} = _cb(@_) }); $revs{$_[1]} = _cb(@_) });
if ($ok) { if ($ok) {
print STDERR "r$min .. r$ok OK\n"; print STDERR "r$min .. r$ok OK\n";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册