diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-08-20 06:42:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-20 06:42:55 +0200 |
commit | 0208c9611ab4e82b09feba857c4f9bc8e02a6d9d (patch) | |
tree | 6355e1529471b36f8c5fd8f9891b7b504d125962 /run-command.c | |
parent | Merge branch 'rs/imap' (diff) | |
parent | spawn pager via run_command interface (diff) | |
download | git-0208c9611ab4e82b09feba857c4f9bc8e02a6d9d.tar.xz git-0208c9611ab4e82b09feba857c4f9bc8e02a6d9d.zip |
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 { |