X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-request-pull.sh;h=5917773240dfb2e8b5f078afee22a3d9bf607ce3;hb=e6c7c2cc9766434607b8da5db872e7881a043925;hp=a2cf5b82150a77fd9ddb775fea1bc8d5e8ee7392;hpb=aa72a14a7f648ae47749281002e94cfcf36f39e2;p=git.git diff --git a/git-request-pull.sh b/git-request-pull.sh index a2cf5b821..591777324 100755 --- a/git-request-pull.sh +++ b/git-request-pull.sh @@ -12,6 +12,9 @@ OPTIONS_SPEC= . git-sh-setup . git-parse-remote +GIT_PAGER= +export GIT_PAGER + base=$1 url=$2 head=${3-HEAD} @@ -34,7 +37,7 @@ branch=$(git ls-remote "$url" \ }") if [ -z "$branch" ]; then echo "warn: No branch of $url is at:" >&2 - git log --max-count=1 --pretty='format:warn: %h: %s' $headrev >&2 + git log --max-count=1 --pretty='tformat:warn: %h: %s' $headrev >&2 echo "warn: Are you sure you pushed $head there?" >&2 echo >&2 echo >&2 @@ -42,8 +45,6 @@ if [ -z "$branch" ]; then status=1 fi -PAGER= -export PAGER echo "The following changes since commit $baserev:" git shortlog --max-count=1 $baserev | sed -e 's/^\(.\)/ \1/'