chiark / gitweb /
When generating git tags, quote the (uncanonicalised) changelog's Distribution field...
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 23 Oct 2013 10:33:45 +0000 (11:33 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 23 Oct 2013 10:33:45 +0000 (11:33 +0100)
debian/changelog
dgit

index b8393b17b39f090767fa95b62409f5faba16f9bc..89f416eec75c87e9fbf23f73d4b964d5bccad10c 100644 (file)
@@ -1,5 +1,8 @@
 dgit (0.17~experimental2) experimental; urgency=low
 
+  * When generating git tags, quote the (uncanonicalised) changelog's
+    Distribution field as the suite.
+
   Changes to remote functionality:
   * More bugfixes.
 
diff --git a/dgit b/dgit
index 0b177d36fe3f518e4df791dc2dda3d5d0e8ae83f..5ea9c26613432c1bbb95fcc4f86f2fa1351c410a 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1152,6 +1152,7 @@ sub push_mktag ($$$$$$$) {
     }
 
     my $cversion = getfield $clogp, 'Version';
+    my $clogsuite = getfield $clogp, 'Distribution';
 
     # We make the git tag by hand because (a) that makes it easier
     # to control the "tagger" (b) we can do remote signing
@@ -1163,7 +1164,7 @@ type commit
 tag $tag
 tagger $authline
 
-$package release $cversion for $csuite [dgit]
+$package release $cversion for $clogsuite [dgit]
 END
     close TO or die $!;