From: Karl Hasselström Date: Wed, 23 Jul 2008 21:29:08 +0000 (+0200) Subject: Fix uncommit status message X-Git-Tag: v0.15-rc1~195 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/41cbb70556477d5e3f883016b7d617e415bdc956 Fix uncommit status message It should say Uncommitting to 8561b089afbaed2651591e5a4574fdca451d82f2 (exclusive) ... not Uncommitting to Commit (exclusive) ... (though arguably, the sha1 should be abbreviated as well). Signed-off-by: Karl Hasselström --- diff --git a/stgit/commands/uncommit.py b/stgit/commands/uncommit.py index 9d2dba9..c21306b 100644 --- a/stgit/commands/uncommit.py +++ b/stgit/commands/uncommit.py @@ -104,9 +104,9 @@ def func(parser, options, args): next_commit = get_parent(next_commit) else: if options.exclusive: - out.start('Uncommitting to %s (exclusive)' % to_commit) + out.start('Uncommitting to %s (exclusive)' % to_commit.sha1) else: - out.start('Uncommitting to %s' % to_commit) + out.start('Uncommitting to %s' % to_commit.sha1) while True: if next_commit == to_commit: if not options.exclusive: