{"thread":{"id":"14512","subject":"[StGit PATCH] Fix uncommit status message","startedAt":"2008-07-17T20:43:21Z","lastAt":"2008-07-17T20:43:21Z","messageCount":1,"participants":["Karl Hasselström"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"83756","messageId":"20080717204321.23542.77124.stgit@yoghurt","threadId":"14512","inReplyTo":null,"subject":"[StGit PATCH] Fix uncommit status message","fromName":"Karl Hasselström","fromEmail":"kha@treskal.com","sentAt":"2008-07-17T20:43:21Z","receivedAt":"2008-07-17T20:43:21Z","isPatch":true,"sender":{"key":"kha@treskal.com","avatar":"https://gravatar.com/avatar/f0120c734b5279b345075a28521e1ac66acb20c9913ffe9bf6ae97e53f7f3f13?d=mp&s=160"},"body":"It should say\n\n  Uncommitting to 8561b089afbaed2651591e5a4574fdca451d82f2 (exclusive) ...\n\nnot\n\n  Uncommitting to Commit<sha1: 8561b089afbaed2651591e5a4574fdca451d82f2, data: None> (exclusive) ...\n\n(though arguably, the sha1 should be abbreviated as well).\n\nSigned-off-by: Karl Hasselström <kha@treskal.com>\n\n---\n\n stgit/commands/uncommit.py |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)\n\n\ndiff --git a/stgit/commands/uncommit.py b/stgit/commands/uncommit.py\nindex eb39fcc..0f43b49 100644\n--- a/stgit/commands/uncommit.py\n+++ b/stgit/commands/uncommit.py\n@@ -104,9 +104,9 @@ def func(parser, options, args):\n             next_commit = get_parent(next_commit)\n     else:\n         if options.exclusive:\n-            out.start('Uncommitting to %s (exclusive)' % to_commit)\n+            out.start('Uncommitting to %s (exclusive)' % to_commit.sha1)\n         else:\n-            out.start('Uncommitting to %s' % to_commit)\n+            out.start('Uncommitting to %s' % to_commit.sha1)\n         while True:\n             if next_commit == to_commit:\n                 if not options.exclusive:\n"}]}