X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-request-pull.sh;h=4319e35c628efdd86745c560d2dfe306b180fb1b;hb=1a82e79315ed633f6b0b1fc4076054950c5380d3;hp=ae6cd272bab01ba7fa9ac7378fe33e07e853d307;hpb=5e80092f7e6db09a40a62e837ca3f74f0bc5ad73;p=git.git diff --git a/git-request-pull.sh b/git-request-pull.sh index ae6cd272..4319e35c 100755 --- a/git-request-pull.sh +++ b/git-request-pull.sh @@ -4,13 +4,11 @@ # This file is licensed under the GPL v2, or a later version # at the discretion of Linus Torvalds. -usage() -{ - echo "$0 [ ]" - echo " Summarizes the changes since to the standard output," - echo " and includes in the message generated." - exit 1 -} +USAGE=' []' +LONG_USAGE='Summarizes the changes since to the standard output, +and includes in the message generated.' +SUBDIRECTORY_OK='Yes' +. git-sh-setup revision=$1 url=$2 @@ -32,4 +30,4 @@ echo " $url" echo git log $baserev..$headrev | git-shortlog ; -git diff $baserev..$headrev | git-apply --stat --summary +git diff --stat --summary $baserev..$headrev