git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Support tags in uncommit - use git_id instead of rev_parse
@ 2007-09-30 17:26 Pavel Roskin
  2007-10-01 11:16 ` Karl Hasselström
  2007-10-01 22:00 ` Catalin Marinas
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Roskin @ 2007-09-30 17:26 UTC (permalink / raw)
  To: Catalin Marinas, git

Signed-off-by: Pavel Roskin <proski@gnu.org>
---

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


diff --git a/stgit/commands/uncommit.py b/stgit/commands/uncommit.py
index 0cd0fb0..c22d3ea 100644
--- a/stgit/commands/uncommit.py
+++ b/stgit/commands/uncommit.py
@@ -65,7 +65,7 @@ def func(parser, options, args):
         if len(args) != 0:
             parser.error('cannot specify patch name with --to')
         patch_nr = patchnames = None
-        to_commit = git.rev_parse(options.to)
+        to_commit = git_id(options.to)
     elif options.number:
         if options.number <= 0:
             parser.error('invalid value passed to --number')

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-07 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-30 17:26 [PATCH] Support tags in uncommit - use git_id instead of rev_parse Pavel Roskin
2007-10-01 11:16 ` Karl Hasselström
2007-10-01 22:00 ` Catalin Marinas
2007-10-02 22:03   ` Pavel Roskin
2007-10-03 20:35     ` Catalin Marinas
2007-10-03 21:44       ` Pavel Roskin
2007-10-07 21:06         ` Catalin Marinas

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).