Skip to content

Commit

Permalink
request-pull: really disable pager
Browse files Browse the repository at this point in the history
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 <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Jun 30, 2009
1 parent 21d777f commit 476cc72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-request-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/'

Expand Down

0 comments on commit 476cc72

Please sign in to comment.