chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e1546
)
Support tags in uncommit - use git_id instead of rev_parse
author
Pavel Roskin
<proski@gnu.org>
Sun, 30 Sep 2007 17:26:47 +0000
(13:26 -0400)
committer
Karl Hasselström
<kha@treskal.com>
Mon, 1 Oct 2007 18:40:37 +0000
(20:40 +0200)
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/uncommit.py
patch
|
blob
|
blame
|
history
diff --git
a/stgit/commands/uncommit.py
b/stgit/commands/uncommit.py
index 0cd0fb09949293b3b82c04af84b957205cca7f27..c22d3ea614126671a3b70fa4b9bd267014c76750 100644
(file)
--- 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')