diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-08-19 21:42:55 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-19 21:42:55 -0700 |
commit | 0208c9611ab4e82b09feba857c4f9bc8e02a6d9d (patch) | |
tree | 6355e1529471b36f8c5fd8f9891b7b504d125962 /run-command.c | |
parent | c8a4cbc23916feeae89a7c59523781e8bf8ac103 (diff) | |
parent | ea27a18ce2bf5860974745c04c24864231029e1d (diff) | |
download | git-0208c9611ab4e82b09feba857c4f9bc8e02a6d9d.tar.gz |
Merge branch 'jk/pager-swap'
* jk/pager-swap:
spawn pager via run_command interface
run-command: add pre-exec callback
Diffstat (limited to 'run-command.c')
-rw-r--r-- | run-command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/run-command.c b/run-command.c index bbb9c777e5..caab374577 100644 --- a/run-command.c +++ b/run-command.c @@ -111,6 +111,8 @@ int start_command(struct child_process *cmd) unsetenv(*cmd->env); } } + if (cmd->preexec_cb) + cmd->preexec_cb(); if (cmd->git_cmd) { execv_git_cmd(cmd->argv); } else { |