From: Jonathan Nieder Date: Sun, 14 Feb 2010 12:06:10 +0000 (-0600) Subject: git svn: Fix launching of pager X-Git-Tag: v1.7.0.2~6^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/190c1cda7eb6dc03be80f45d3d174c313d23da2c?hp=190c1cda7eb6dc03be80f45d3d174c313d23da2c 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 Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---