diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-16 14:46:39 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-17 09:52:20 -0800 |
commit | 708b8cc9a114ea1e5b90f5f52fd24ecade4e8b40 (patch) | |
tree | f3a36499d0aef7a35f255649d77994927c9bc821 /pager.c | |
parent | 3e3a4a41b0dac564c0302ced4ccc423d0d39bc21 (diff) | |
download | git-708b8cc9a114ea1e5b90f5f52fd24ecade4e8b40.tar.gz git-708b8cc9a114ea1e5b90f5f52fd24ecade4e8b40.tar.xz |
am -i: fix "v"iew
The 'v'iew subcommand of the interactive mode of "git am -i" was
broken by the rewrite to C we did at around 2.6.0 timeframe at
7ff26832 (builtin-am: implement -i/--interactive, 2015-08-04); we
used to spawn the pager via the shell, accepting things like
PAGER='less -S'
in the environment, but the rewrite forgot and tried to directly
spawn a command whose name is the entire string.
The previous refactoring of the new helper function makes it easier
for us to do the right thing.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pager.c')
0 files changed, 0 insertions, 0 deletions