]> Savannah Git Hosting - gnulib.git/commitdiff
vcs-to-changelog: Fix formatting of ChangeLog output.
authorSiddhesh Poyarekar <siddhesh@gotplt.org>
Thu, 16 Jan 2020 07:19:54 +0000 (12:49 +0530)
committerBruno Haible <bruno@clisp.org>
Thu, 16 Jan 2020 20:20:46 +0000 (21:20 +0100)
Add another newline when the number of files differing is too large.
This is typical for across-the-board changes such as copyright year
updates.

* build-aux/vcstocl/vcs_git.py (list_changes): Add newline in
print output.

ChangeLog
build-aux/vcstocl/vcs_git.py

index 3ebd83799e07a3aeee55cfba7e4fa040d00bcc8c..b8578488ff61e070365cc43cb5afd63bf2a69529 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-01-16  Siddhesh Poyarekar  <siddhesh@gotplt.org>
+
+       vcs-to-changelog: Fix formatting of ChangeLog output.
+       * build-aux/vcstocl/vcs_git.py (list_changes): Add newline in print
+       output.
+
 2020-01-16  Siddhesh Poyarekar  <siddhesh@gotplt.org>
 
        vcs-to-changelog: Drop python3 shebang from frontend_c.py.
index 0b8099e0bb725e4d071dfaa5ccb4d48502324e59..23ede3b5a314d21126eec057000a647cdd1c8054 100644 (file)
@@ -101,7 +101,7 @@ class GitRepo:
         # updates, copyright notice changes, etc.) and likely not interesting
         # enough to produce a detailed ChangeLog entry.
         if len(op) > 100:
-            print('\t* Suppressing diff as too many files differ.')
+            print('\t* Suppressing diff as too many files differ.\n')
             return
 
         # Each of these lines has a space separated format like so: