aboutsummaryrefslogtreecommitdiff
path: root/git-rebase-script
diff options
context:
space:
mode:
Diffstat (limited to 'git-rebase-script')
-rwxr-xr-xgit-rebase-script8
1 files changed, 4 insertions, 4 deletions
diff --git a/git-rebase-script b/git-rebase-script
index 10ab700d0..5b791c6bd 100755
--- a/git-rebase-script
+++ b/git-rebase-script
@@ -11,11 +11,11 @@ upstream tree.'
: ${GIT_DIR=.git}
case "$#" in
-1) linus=`git-rev-parse "$1"` &&
- junio=`git-rev-parse HEAD` || exit
+1) linus=`git-rev-parse --verify "$1"` &&
+ junio=`git-rev-parse --verify HEAD` || exit
;;
-2) linus=`git-rev-parse "$1"` &&
- junio=`git-rev-parse "$2"` || exit
+2) linus=`git-rev-parse --verify "$1"` &&
+ junio=`git-rev-parse --verify "$2"` || exit
;;
*) echo >&2 "$usage"; exit 1 ;;
esac