chiark / gitweb /
When generating git tags, quote the (uncanonicalised) changelog's Distribution field...
[dgit.git] / dgit
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 $!;