diff options
author | Glenn Morris <rgm@gnu.org> | 2015-05-08 07:58:00 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-05-08 07:58:24 -0700 |
commit | ed614f9c1c4e989576b318268dcf94f5ae7154f1 (patch) | |
tree | 85b37aa4048edcc391db8f355ab0ae79969002dc /build-aux/gitlog-to-changelog | |
parent | 583b5ea804054c3af086f1ad03ac42662d9f6288 (diff) | |
download | gnulib-ed614f9c1c4e989576b318268dcf94f5ae7154f1.tar.gz |
gitlog-to-changelog: parse "Tiny-change"
* build-aux/gitlog-to-changelog: Treat "Tiny-change" like
"Copyright-paperwork-exempt". (Bug#20324)
Diffstat (limited to 'build-aux/gitlog-to-changelog')
-rwxr-xr-x | build-aux/gitlog-to-changelog | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog index 3f4b06a4df..ad7c2739cb 100755 --- a/build-aux/gitlog-to-changelog +++ b/build-aux/gitlog-to-changelog @@ -3,7 +3,7 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}' if 0; # Convert git log output to ChangeLog format. -my $VERSION = '2015-04-09 16:03'; # UTC +my $VERSION = '2015-05-08 06:05'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook @@ -324,7 +324,7 @@ sub git_dir_option($) # Format 'Copyright-paperwork-exempt: Yes' as a standard ChangeLog # `(tiny change)' annotation. - my $tiny = (grep (/^Copyright-paperwork-exempt:\s+[Yy]es$/, @line) + my $tiny = (grep (/^(?:Copyright-paperwork-exempt|Tiny-change):\s+[Yy]es$/, @line) ? ' (tiny change)' : ''); my $date_line = sprintf "%s %s$tiny\n", @@ -335,6 +335,7 @@ sub git_dir_option($) @line = grep !/^(?:Signed-off-by:[ ].*>$ |Co-authored-by:[ ] |Copyright-paperwork-exempt:[ ] + |Tiny-change:[ ] )/x, @line; # Remove leading and trailing blank lines. |