~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow the GIT ids to be more flexible
[stgit]
/
stgit
/
commands
/
common.py
diff --git
a/stgit/commands/common.py
b/stgit/commands/common.py
index
293bd2e
..
db0466d
100644
(file)
--- a/
stgit/commands/common.py
+++ b/
stgit/commands/common.py
@@
-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 == '':