summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-02-16 22:34:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-02-17 17:19:15 (GMT)
commit3e3a4a41b0dac564c0302ced4ccc423d0d39bc21 (patch)
treec3317045271879bd260981ce8d96d145021df8f4 /transport.h
parent43b019022478703758b3744fa242867ed620a9a6 (diff)
downloadgit-3e3a4a41b0dac564c0302ced4ccc423d0d39bc21.zip
git-3e3a4a41b0dac564c0302ced4ccc423d0d39bc21.tar.gz
git-3e3a4a41b0dac564c0302ced4ccc423d0d39bc21.tar.bz2
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 'transport.h')
0 files changed, 0 insertions, 0 deletions