X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git-request-pull-script;h=ae6cd272bab01ba7fa9ac7378fe33e07e853d307;hb=78938b0d8a95b09d94af214fdb6b5f053a5edb98;hp=919081522942a1817b669422f28e045a2849d866;hpb=89ab859e9452cbc8f1f15afab52257e9b789c899;p=git.git diff --git a/git-request-pull-script b/git-request-pull-script index 91908152..ae6cd272 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" |