chiark / gitweb /
git-debrebase: convert-from-gbp: handle missing maintainer tag
[dgit.git] / git-debrebase
index eabf5adad7f81df0236f6922b7e624192b2d40d3..a128d92c7d10056959270eafc7b881f994cdfec1 100755 (executable)
@@ -2477,7 +2477,7 @@ END
        my $mtag = cmdoutput @git, qw(describe --always --abbrev=0 --match),
            $mtag_pat;
        die "could not find suitable maintainer view tag $mtag_pat\n"
-           unless $mtag_pat =~ m{/};
+           unless $mtag =~ m{/};
        is_fast_fwd $mtag, 'HEAD' or
            die "HEAD is not FF from maintainer tag $mtag!";
        my $dtag = "archive/$mtag";