]> arthur.barton.de Git - bup.git/commitdiff
Fix generated commit messages.
authorAvery Pennarun <apenwarr@gmail.com>
Sat, 2 Jan 2010 06:44:04 +0000 (01:44 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sat, 2 Jan 2010 06:44:04 +0000 (01:44 -0500)
The first (summary) line should be shorter so that git log looks prettier.

cmd-save.py
cmd-split.py

index e1888609ef4a98cd101fa7ab2491f420624dc1ec..458dc1a179bdbc6ebcd4bf04e20a7d10b9d427b4 100755 (executable)
@@ -118,7 +118,7 @@ tree = root.gen_tree()
 if opt.tree:
     print tree
 if opt.commit or opt.name:
-    msg = 'Generated by command:\n%r' % sys.argv
+    msg = 'bup save\n\nGenerated by command:\n%r' % sys.argv
     ref = opt.name and ('refs/heads/%s' % opt.name) or None
     commit = git.gen_commit_easy(ref, tree, msg)
     if opt.commit:
index 096ecf67b2f5e3773bb9178fe6541bd82bfa1614..732f608f3c95f13b4895808ee1e88f18a0d87cd4 100755 (executable)
@@ -28,7 +28,7 @@ if opt.blobs:
 if opt.tree:
     print tree
 if opt.commit or opt.name:
-    msg = 'Generated by command:\n%r' % sys.argv
+    msg = 'bup split\n\nGenerated by command:\n%r' % sys.argv
     ref = opt.name and ('refs/heads/%s' % opt.name) or None
     commit = git.gen_commit_easy(ref, tree, msg)
     if opt.commit: