X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-request-pull.sh;h=90d969c625f83860538f4cf17a2a2abde81fc945;hb=5410a02ab9e6a1987147724f8ea65e6a077b3832;hp=ba577d4ce1b0aaf5777667410dc9cca6c999df1d;hpb=b8336519450fdedc8f9cafebc73f7a0226e34e1f;p=git.git diff --git a/git-request-pull.sh b/git-request-pull.sh index ba577d4ce..90d969c62 100755 --- a/git-request-pull.sh +++ b/git-request-pull.sh @@ -8,6 +8,7 @@ USAGE=' []' LONG_USAGE='Summarizes the changes since to the standard output, and includes in the message generated.' SUBDIRECTORY_OK='Yes' +OPTIONS_SPEC= . git-sh-setup . git-parse-remote @@ -18,8 +19,8 @@ head=${3-HEAD} [ "$base" ] || usage [ "$url" ] || usage -baserev=`git-rev-parse --verify "$base"^0` && -headrev=`git-rev-parse --verify "$head"^0` || exit +baserev=`git rev-parse --verify "$base"^0` && +headrev=`git rev-parse --verify "$head"^0` || exit merge_base=`git merge-base $baserev $headrev` || die "fatal: No commits in common between $base and $head"