summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2009-09-11 19:45:07 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-09-11 16:35:08 -0700
commit25fc1786ab147daa9ffa43ebcbaf5c1cc6e50d4f (patch)
tree13fb38f6e94bfbfc5773c38c86dae4d385ee28b2 /http-push.c
parentstart_command: do not clobber cmd->env on Windows code path (diff)
downloadtgif-25fc1786ab147daa9ffa43ebcbaf5c1cc6e50d4f.tar.xz
pager: set LESS=FRSX also on Windows
Previously, this environment variable was set in the pager_preexec callback, which is conditionally-compiled only on Unix, because it is not, and cannot be, called on Windows. With this patch the env member of struct child_process is used to set the environment variable, which also works on Windows. Noticed by Alexey Borzenkov. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-push.c')
0 files changed, 0 insertions, 0 deletions