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 <gitster@pobox.com>
This commit is contained in:
@ -42,8 +42,8 @@ if [ -z "$branch" ]; then
|
|||||||
status=1
|
status=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PAGER=
|
GIT_PAGER=
|
||||||
export PAGER
|
export GIT_PAGER
|
||||||
echo "The following changes since commit $baserev:"
|
echo "The following changes since commit $baserev:"
|
||||||
git shortlog --max-count=1 $baserev | sed -e 's/^\(.\)/ \1/'
|
git shortlog --max-count=1 $baserev | sed -e 's/^\(.\)/ \1/'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user