X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git-request-pull-script;h=ae6cd272bab01ba7fa9ac7378fe33e07e853d307;hb=6e7722e6f88c049f43a1c00c45c502542d1a5752;hp=919081522942a1817b669422f28e045a2849d866;hpb=3f81fc82743ccd4fd7157f1f1db41605eb018fb9;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" |