summaryrefslogtreecommitdiff
path: root/git-request-pull-script
diff options
context:
space:
mode:
Diffstat (limited to 'git-request-pull-script')
-rwxr-xr-xgit-request-pull-script4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-request-pull-script b/git-request-pull-script
index 9190815..ae6cd27 100755
--- a/git-request-pull-script
+++ b/git-request-pull-script
@@ -19,8 +19,8 @@ head=${3-HEAD}
[ "$revision" ] || usage
[ "$url" ] || usage
-baserev=`git-rev-parse --verify $revision^0` &&
-headrev=`git-rev-parse --verify $head^0` || exit
+baserev=`git-rev-parse --verify "$revision"^0` &&
+headrev=`git-rev-parse --verify "$head"^0` || exit
echo "The following changes since commit $baserev:"
git log --max-count=1 --pretty=short "$baserev" |