X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/844a164019385f19d8607754b3ae130eee1dfd89..2fef9462b26126402f26140a02d3e16cdd2d9928:/stgit/commands/common.py diff --git a/stgit/commands/common.py b/stgit/commands/common.py index 88f1433..f7301da 100644 --- 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():