~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow tag objects to be passed on the command line
[stgit]
/
stgit
/
commands
/
common.py
diff --git
a/stgit/commands/common.py
b/stgit/commands/common.py
index
88f1433
..
f7301da
100644
(file)
--- a/
stgit/commands/common.py
+++ b/
stgit/commands/common.py
@@
-81,7
+81,7
@@
def git_id(rev):
return read_string(series.get_base_file())
# anything else failed
- return git.rev_parse(rev)
+ return git.rev_parse(rev
+ '^{commit}'
)
def check_local_changes():
if git.local_changes():