From 1739d40a569e64da30df01500162f93d28ee6d19 Mon Sep 17 00:00:00 2001 Message-Id: <1739d40a569e64da30df01500162f93d28ee6d19.1746539776.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sun, 30 Sep 2007 13:26:47 -0400 Subject: [PATCH] Support tags in uncommit - use git_id instead of rev_parse MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Organization: Straylight/Edgeware From: Pavel Roskin Signed-off-by: Pavel Roskin Signed-off-by: Karl Hasselström --- stgit/commands/uncommit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- [mdw]