summaryrefslogtreecommitdiff
path: root/git-sh-setup.sh
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-02-14 12:06:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-02-15 02:23:17 (GMT)
commit190c1cda7eb6dc03be80f45d3d174c313d23da2c (patch)
tree09e0a5d856e692958e99a01fb5e1a57241999647 /git-sh-setup.sh
parent06300d9753349a83212360445d241d70a46375fa (diff)
downloadgit-190c1cda7eb6dc03be80f45d3d174c313d23da2c.zip
git-190c1cda7eb6dc03be80f45d3d174c313d23da2c.tar.gz
git-190c1cda7eb6dc03be80f45d3d174c313d23da2c.tar.bz2
git svn: Fix launching of pager
In commit dec543e (am -i, git-svn: use "git var GIT_PAGER"), I tried to teach git svn to defer to git var on what pager to use. In the process, I introduced two bugs: - The value set for $pager in config_pager has local scope, so run_pager never sees it; - git var cannot tell whether git svn’s output is going to a terminal, so the value chosen for $pager does not reflect that information. Fix them. Reported-by: Sebastian Celis <sebastian@sebastiancelis.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-sh-setup.sh')
0 files changed, 0 insertions, 0 deletions