chiark / gitweb /
dgit: Include dgit tag metadata in maintainer view tag too
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Jul 2019 14:39:27 +0000 (15:39 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Jul 2019 14:57:40 +0000 (15:57 +0100)
This is for the use of git-debpush and other tools which want to
figure out the quilt mode from the git history.

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

diff --git a/dgit b/dgit
index 2d63f458a35d229bfdb18799bfc1b0bda531063d..6926c3883a9c9c187b5994ad4258859c45463891 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -4399,7 +4399,6 @@ END
 %s release %s for %s (%s) [dgit]
 ENDT
                or confess "$!";
-           print TO "\n", $tag_metadata;
        } elsif ($tw->{View} eq 'maint') {
            print TO f_ <<END, $package, $cversion, $clogsuite, $csuite,
 %s release %s for %s (%s)
@@ -4411,6 +4410,7 @@ END
        } else {
            confess Dumper($tw)."?";
        }
+       print TO "\n", $tag_metadata;
 
        close TO or confess "$!";