Allow the GIT ids to be more flexible
[stgit] / stgit / commands / common.py
index 293bd2e..db0466d 100644 (file)
@@ -53,6 +53,9 @@ def git_id(string):
             id_file = os.path.join(path, git_id)
             if os.path.isfile(id_file):
                 return read_string(id_file)
+
+        # maybe GIT know more about this id
+        return git_id
     elif len(string_list) == 2:
         patch_name = string_list[0]
         if patch_name == '':