summaryrefslogtreecommitdiff
path: root/git-request-pull-script
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-24 21:31:36 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-24 21:31:36 (GMT)
commitff84d327dfb8a9aa0634b0aaaca1c018cdc5117a (patch)
tree93b27df73edfff4d55a439200a728c26c1976cd2 /git-request-pull-script
parent4866ccf0f434db118c4dcdeeab840eb4844d50a4 (diff)
downloadgit-ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a.zip
git-ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a.tar.gz
git-ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a.tar.bz2
Audit rev-parse users again.
Some callers to rev-parse were using the output selection flags inconsistently. Signed-off-by: Junio C Hamano <junkio@cox.net>
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" |