summaryrefslogtreecommitdiff
path: root/run-command.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-02 21:24:22 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-03 05:51:09 (GMT)
commit19614330ddaf02367a7faf2ff5e09f1f39fd63c4 (patch)
tree363ef273adc90690bad1f4665f5246a87faabc33 /run-command.h
parent0bc3cdfc823e48069b778468196d8f5185a452cb (diff)
downloadgit-19614330ddaf02367a7faf2ff5e09f1f39fd63c4.zip
git-19614330ddaf02367a7faf2ff5e09f1f39fd63c4.tar.gz
git-19614330ddaf02367a7faf2ff5e09f1f39fd63c4.tar.bz2
receive-pack hooks updates.
The earlier one conflated update and post-update hooks for no good reason. Correct that ugly hack. Now post-update hooks will take the list of successfully updated refs. Signed-off-by: Junio C Hamano <junkio@cox.net>
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 4f64613..5ee0972 100644
--- a/run-command.h
+++ b/run-command.h
@@ -11,6 +11,7 @@ enum {
ERR_RUN_COMMAND_WAITPID_NOEXIT,
};
+int run_command_v(int argc, char **argv);
int run_command(const char *cmd, ...);
#endif