Skip to content

Commit 476cc72

Browse files
committed
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 <[email protected]>
1 parent 21d777f commit 476cc72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-request-pull.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ if [ -z "$branch" ]; then
4242
status=1
4343
fi
4444

45-
PAGER=
46-
export PAGER
45+
GIT_PAGER=
46+
export GIT_PAGER
4747
echo "The following changes since commit $baserev:"
4848
git shortlog --max-count=1 $baserev | sed -e 's/^\(.\)/ \1/'
4949

0 commit comments

Comments
 (0)