chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for git-rev-parse
[stgit]
/
stgit
/
commands
/
common.py
diff --git
a/stgit/commands/common.py
b/stgit/commands/common.py
index c6d45351a0932870d8187c310212d44dcbfd6fa6..eacae958ae71eb4c36b8f409e2aa7cb3370ad58e 100644
(file)
--- a/
stgit/commands/common.py
+++ b/
stgit/commands/common.py
@@
-56,7
+56,7
@@
def git_id(string, strict = False):
# maybe GIT knows more about this id
if not strict:
- return git
_id
+ return git
.rev_parse(git_id)
elif len(string_list) == 2:
patch_name = string_list[0]
if patch_name == '':