chiark / gitweb /
git-debrebase: Only make finalised changelog entries
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 22 Apr 2018 16:20:09 +0000 (17:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 15:07:01 +0000 (16:07 +0100)
Unfortunately, finalised UNRELEASED has become the dominant convention
in Debian.  So conform to that.

Also this breaks a test, which assumed that the operation date did not
leak into the output tree.  But, sadly, now it does.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase
tests/tests/gdr-newupstream-v0

index 59b15aa38045ef8a79e7bc2b9cfd5ef0093b64b7..fcca5b1ad6b0cb4bb4ee893bf7b61b8216a79bbe 100755 (executable)
@@ -1234,6 +1234,10 @@ sub cmd_new_upstream_v0 () {
  "[git-debrebase anchor: new upstream $new_upstream_version, merge]",
             ];
 
+       my $clogsignoff = cmdoutput qw(git show),
+           '--pretty=format:%an <%ae>  %aD',
+           $new_bw;
+
        # Now we have to add a changelog stanza so the Debian version
        # is right.
        die if unlink "debian";
@@ -1250,7 +1254,7 @@ $p ($new_version) UNRELEASED; urgency=medium
 
   * Update to new upstream version $new_upstream_version.
 
- -- 
+ -- $clogsignoff
 
 END
        close CN or die $!;
index 4b32f02b41f964fdffd5430a9c75c87abf2d773b..9b283c0b7e328bf0b527c4973117247de819274c 100755 (executable)
@@ -41,7 +41,6 @@ git branch ordinary
 : 'with --anchor'
 
 git reset --hard startpoint
-t-git-next-date
 
 t-git-debrebase analyse >../anal.anch
 anchor=$(perl <../anal.anch -ne '