chiark / gitweb /
Add support for git-rev-parse
[stgit] / stgit / commands / common.py
index c6d45351a0932870d8187c310212d44dcbfd6fa6..eacae958ae71eb4c36b8f409e2aa7cb3370ad58e 100644 (file)
@@ -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 == '':