summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-02-16 14:34:44 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-17 09:19:15 -0800
commit3e3a4a41b0dac564c0302ced4ccc423d0d39bc21 (patch)
treec3317045271879bd260981ce8d96d145021df8f4 /aclocal.m4
parentpager: lose a separate argv[] (diff)
downloadtgif-3e3a4a41b0dac564c0302ced4ccc423d0d39bc21.tar.xz
pager: factor out a helper to prepare a child process to run the pager
When running a pager, we need to run the program git_pager() gave us, but we need to make sure we spawn it via the shell (i.e. it is valid to say PAGER='less -S', for example) and give default values to $LESS and $LV environment variables. Factor out these details to a separate helper function. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions