]> git.donarmstrong.com Git - lilypond.git/commitdiff
only prepend header if one patch was successful.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 30 Oct 2006 16:49:09 +0000 (17:49 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 30 Oct 2006 16:49:09 +0000 (17:49 +0100)
buildscripts/git-update-changelog.py

index 15c35e9c310828a8eade54af33aac61c6e4d1a7d..029717dc9a5bb260ccd76fe370d2f0d371f2ec81 100644 (file)
@@ -180,7 +180,8 @@ Run this file from the CVS directory, with --git-dir
         if op == 'add':
             system ('cvs add %(f)s' % locals ())
 
-    new_log = header (last_commit) + new_log + '\n'
+    if last_commit: 
+        new_log = header (last_commit) + new_log + '\n'
 
     log = new_log + log