summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 21d777f)
raw | patch | inline | side by side (parent: 21d777f)
author | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Jun 2009 18:29:36 +0000 (11:29 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 30 Jun 2009 18:33:30 +0000 (11:33 -0700) |
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>
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>
git-request-pull.sh | patch | blob | history |
diff --git a/git-request-pull.sh b/git-request-pull.sh
index a2cf5b82150a77fd9ddb775fea1bc8d5e8ee7392..ab2dd104986c33b2aa3e488dafda31265effb642 100755 (executable)
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
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/'