chiark / gitweb /
git-debrebase: Rename a variable $ups_tag to $ups_rev
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 Jun 2020 15:05:37 +0000 (16:05 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 Jun 2020 15:35:38 +0000 (16:35 +0100)
This is a commit, not a tag.  This is prepping for a change where
the tag will be here in a variable too.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase

index 06f56d872abe5bcf98a966ae61bf2d2080a7a49a..171249f771e1716a9eb0b39675c460780597291e 100755 (executable)
@@ -2697,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 {