On Wed, Feb 17, 2016 at 11:15:13AM -0800, Junio C Hamano wrote:
So the first patch in this series factors out a helper function to
let the caller run the pager the right way. They make the third
patch to fix the breakage in "am" trivial. Compared to v1, the
helper was much simplified with help by Peff: it always and only
takes child-process and the pager command string. The caller can
append extra command line arguments after the helper returns if it
wants to.
Junio C Hamano (3):
pager: lose a separate argv[]
pager: factor out a helper to prepare a child process to run the pager
am -i: fix "v"iew
builtin/am.c | 2 +-
cache.h | 3 +++
pager.c | 19 +++++++++++--------
3 files changed, 15 insertions(+), 9 deletions(-)
The whole thing looks good to me.
-Peff