diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-02-09 16:00:17 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-02-09 16:00:17 +0900 |
commit | f77eedfaad1525168ca8593a3eb43ef157cd2891 (patch) | |
tree | d27f4bf63522695f544f14b5729b48986308237e /build-aux | |
parent | 10fb3b7f1c67c9367ab0b15e2d8e4b5ec6abbae0 (diff) | |
download | gpg2-f77eedfaad1525168ca8593a3eb43ef157cd2891.tar.gz gpg2-f77eedfaad1525168ca8593a3eb43ef157cd2891.tar.bz2 gpg2-f77eedfaad1525168ca8593a3eb43ef157cd2891.zip |
Imported Upstream version 2.1.18upstream/2.1.18
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/gitlog-to-changelog | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog index 24a3d72..f70f499 100755 --- a/build-aux/gitlog-to-changelog +++ b/build-aux/gitlog-to-changelog @@ -179,6 +179,7 @@ sub parse_amend_file($) my $amend_file; my $append_dot = 0; my $tear_off = 0; + my $firstline; GetOptions ( help => sub { usage 0 }, @@ -338,7 +339,9 @@ sub parse_amend_file($) # Prefix each non-empty line with a TAB. @line = map { length $_ ? "\t$_" : '' } @line; - print "\n", join ("\n", @line), "\n"; + $firstline = shift @line; + print "\n", $firstline, "\n", "\t+ commit $sha\n"; + print join ("\n", @line), "\n"; } SKIPCOMMIT: |