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>
Junio C Hamano committed
Jun 30, 2009 at 11:29 UTC
476cc724242e715c150dce0d26d2feabe2dbe5e1
1 file changed
+2
-2
git-request-pull.sh
+2
-2
@@ -42,8 +42,8 @@ if [ -z "$branch" ]; then
42
status=1
43
fi
44
45
-PAGER=
46
-export PAGER
45
+GIT_PAGER=
46
+export GIT_PAGER
47
echo "The following changes since commit $baserev:"
48
git shortlog --max-count=1 $baserev | sed -e 's/^\(.\)/ \1/'
49