The first (summary) line should be shorter so that git log looks prettier.
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:
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: