From: Rob Browning Date: Fri, 14 Feb 2014 18:08:47 +0000 (-0600) Subject: save-cmd.py, split-cmd.py: end the commit message with a newline. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=bca22f5219592dcad4715c7610f7278a9021b6fb;p=packages%2Fb%2Fbup.git save-cmd.py, split-cmd.py: end the commit message with a newline. Signed-off-by: Rob Browning --- diff --git a/cmd/save-cmd.py b/cmd/save-cmd.py index c3eb228..0c0c3ef 100755 --- a/cmd/save-cmd.py +++ b/cmd/save-cmd.py @@ -425,7 +425,7 @@ tree = _pop(force_tree = None, if opt.tree: print tree.encode('hex') if opt.commit or opt.name: - msg = 'bup save\n\nGenerated by command:\n%r' % sys.argv + msg = 'bup save\n\nGenerated by command:\n%r\n' % sys.argv commit = w.new_commit(oldref, tree, date, msg) if opt.commit: print commit.encode('hex') diff --git a/cmd/split-cmd.py b/cmd/split-cmd.py index 7d209a8..9cb3544 100755 --- a/cmd/split-cmd.py +++ b/cmd/split-cmd.py @@ -161,7 +161,7 @@ if opt.verbose: if opt.tree: print tree.encode('hex') if opt.commit or opt.name: - msg = 'bup split\n\nGenerated by command:\n%r' % sys.argv + msg = 'bup split\n\nGenerated by command:\n%r\n' % sys.argv ref = opt.name and ('refs/heads/%s' % opt.name) or None commit = pack_writer.new_commit(oldref, tree, date, msg) if opt.commit: