summaryrefslogtreecommitdiff
path: root/git-commit-script
diff options
context:
space:
mode:
Diffstat (limited to 'git-commit-script')
-rwxr-xr-xgit-commit-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-commit-script b/git-commit-script
index 04d16ae92f..dae487f3fd 100755
--- a/git-commit-script
+++ b/git-commit-script
@@ -16,7 +16,7 @@ do
-m) shift
case "$#" in
0) usage ;;
- *) use_commit=`git-rev-parse "$1"` ||
+ *) use_commit=`git-rev-parse --verify "$1"` ||
exit ;;
esac
;;