chiark / gitweb /
changelog: Document changes to convert-from-gbp messages.
[dgit.git] / git-debrebase
index a128d92c7d10056959270eafc7b881f994cdfec1..42e8f7e3eec152892c35cd87666147749eea03ee 100755 (executable)
@@ -2481,8 +2481,10 @@ END
        is_fast_fwd $mtag, 'HEAD' or
            die "HEAD is not FF from maintainer tag $mtag!";
        my $dtag = "archive/$mtag";
+       git_get_ref "refs/tags/$dtag" or
+           die "dgit view tag $dtag not found\n";
        is_fast_fwd $mtag, $dtag or
-           die "dgit view tag $dtag is not FF from maintainer tag $mtag";
+           die "dgit view tag $dtag is not FF from maintainer tag $mtag\n";
        print "will stitch in dgit view, $dtag\n";
        git_rev_parse $dtag;
     };