chiark / gitweb /
git-debrebase: Rename a variable $ups_tag to $ups_rev
[dgit.git] / git-debrebase
index 70b00608b3b9e7a980c830ec777839f20f23cbf5..171249f771e1716a9eb0b39675c460780597291e 100755 (executable)
@@ -121,7 +121,6 @@ our $playprefix = 'debrebase';
 our $rd;
 our $workarea;
 
-our @git = qw(git);
 our @dgit = qw(dgit);
 
 sub in_workarea ($) {
@@ -2698,10 +2697,10 @@ END
     if (!@upstreams) {
        if ($do_tags) {
            my @tried;
-           my $ups_tag = upstream_commitish_search $version, \@tried;
-           if ($ups_tag) {
+           my $ups_rev = upstream_commitish_search $version, \@tried;
+           if ($ups_rev) {
                my $this = f_ "git tag %s", $tried[-1];
-               push @upstreams, { Commit => $ups_tag,
+               push @upstreams, { Commit => $ups_rev,
                                   Source => $this,
                                 };
            } else {