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