From: Junio C Hamano Date: Tue, 30 Jun 2009 18:29:36 +0000 (-0700) Subject: request-pull: really disable pager X-Git-Tag: v1.6.4-rc0~10^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=476cc72;p=git.git request-pull: really disable pager ff06c74 (Improve request-pull to handle non-rebased branches, 2007-05-01) attempted to disable pager when running subcommands in this script, but with a wrong variable. If GIT_PAGER is set, it takes precedence over PAGER. Noticed by Michal Marek. Signed-off-by: Junio C Hamano --- diff --git a/git-request-pull.sh b/git-request-pull.sh index a2cf5b821..ab2dd1049 100755 --- a/git-request-pull.sh +++ b/git-request-pull.sh @@ -42,8 +42,8 @@ if [ -z "$branch" ]; then status=1 fi -PAGER= -export PAGER +GIT_PAGER= +export GIT_PAGER echo "The following changes since commit $baserev:" git shortlog --max-count=1 $baserev | sed -e 's/^\(.\)/ \1/'