git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [StGit PATCH] Fix uncommit status message
@ 2008-07-17 20:43 Karl Hasselström
  0 siblings, 0 replies; only message in thread
From: Karl Hasselström @ 2008-07-17 20:43 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: git

It should say

  Uncommitting to 8561b089afbaed2651591e5a4574fdca451d82f2 (exclusive) ...

not

  Uncommitting to Commit<sha1: 8561b089afbaed2651591e5a4574fdca451d82f2, data: None> (exclusive) ...

(though arguably, the sha1 should be abbreviated as well).

Signed-off-by: Karl Hasselström <kha@treskal.com>

---

 stgit/commands/uncommit.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/stgit/commands/uncommit.py b/stgit/commands/uncommit.py
index eb39fcc..0f43b49 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:

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-17 20:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-17 20:43 [StGit PATCH] Fix uncommit status message Karl Hasselström

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).