aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2015-05-07 23:10:57 -0700
committerGlenn Morris2015-05-07 23:10:57 -0700
commit1bb36c5cd49978fbc2403c4f170b14f01c6f0886 (patch)
tree6a350072b7b08cdb9d27186132e043099bea32ce
parent31deb8ad1146705079b98466c56f1c05b4af2638 (diff)
downloademacs-1bb36c5cd49978fbc2403c4f170b14f01c6f0886.tar.gz
emacs-1bb36c5cd49978fbc2403c4f170b14f01c6f0886.zip
* build-aux/gitlog-to-changelog: Treat "Tiny-change" like
"Copyright-paperwork-exempt". (Bug#20324)
-rwxr-xr-xbuild-aux/gitlog-to-changelog5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog
index 3f4b06a4df1..ad7c2739cbc 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+"$@"}'
3 if 0; 3 if 0;
4# Convert git log output to ChangeLog format. 4# Convert git log output to ChangeLog format.
5 5
6my $VERSION = '2015-04-09 16:03'; # UTC 6my $VERSION = '2015-05-08 06:05'; # UTC
7# The definition above must lie within the first 8 lines in order 7# The definition above must lie within the first 8 lines in order
8# for the Emacs time-stamp write hook (at end) to update it. 8# for the Emacs time-stamp write hook (at end) to update it.
9# If you change this file with Emacs, please let the write hook 9# If you change this file with Emacs, please let the write hook
@@ -324,7 +324,7 @@ sub git_dir_option($)
324 324
325 # Format 'Copyright-paperwork-exempt: Yes' as a standard ChangeLog 325 # Format 'Copyright-paperwork-exempt: Yes' as a standard ChangeLog
326 # `(tiny change)' annotation. 326 # `(tiny change)' annotation.
327 my $tiny = (grep (/^Copyright-paperwork-exempt:\s+[Yy]es$/, @line) 327 my $tiny = (grep (/^(?:Copyright-paperwork-exempt|Tiny-change):\s+[Yy]es$/, @line)
328 ? ' (tiny change)' : ''); 328 ? ' (tiny change)' : '');
329 329
330 my $date_line = sprintf "%s %s$tiny\n", 330 my $date_line = sprintf "%s %s$tiny\n",
@@ -335,6 +335,7 @@ sub git_dir_option($)
335 @line = grep !/^(?:Signed-off-by:[ ].*>$ 335 @line = grep !/^(?:Signed-off-by:[ ].*>$
336 |Co-authored-by:[ ] 336 |Co-authored-by:[ ]
337 |Copyright-paperwork-exempt:[ ] 337 |Copyright-paperwork-exempt:[ ]
338 |Tiny-change:[ ]
338 )/x, @line; 339 )/x, @line;
339 340
340 # Remove leading and trailing blank lines. 341 # Remove leading and trailing blank lines.