aboutsummaryrefslogtreecommitdiff
path: root/run-command.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-19 21:42:55 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-19 21:42:55 -0700
commit0208c9611ab4e82b09feba857c4f9bc8e02a6d9d (patch)
tree6355e1529471b36f8c5fd8f9891b7b504d125962 /run-command.h
parentc8a4cbc23916feeae89a7c59523781e8bf8ac103 (diff)
parentea27a18ce2bf5860974745c04c24864231029e1d (diff)
downloadgit-0208c9611ab4e82b09feba857c4f9bc8e02a6d9d.tar.xz
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.h')
-rw-r--r--run-command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/run-command.h b/run-command.h
index 5203a9ebb1..4f2b7d7d40 100644
--- a/run-command.h
+++ b/run-command.h
@@ -42,6 +42,7 @@ struct child_process {
unsigned no_stderr:1;
unsigned git_cmd:1; /* if this is to be git sub-command */
unsigned stdout_to_stderr:1;
+ void (*preexec_cb)(void);
};
int start_command(struct child_process *);