]> git.ipfire.org Git - thirdparty/git.git/blobdiff - run-command.h
Merge branch 'ti/glibc-stdio-mutex-from-signal-handler'
[thirdparty/git.git] / run-command.h
index 518663eef5d7c23ed947161fb1162d867d2af7b8..5428b048e2c49dec3e322ac2a46ffddd012e4c8d 100644 (file)
@@ -53,6 +53,11 @@ int finish_command(struct child_process *);
 int finish_command_in_signal(struct child_process *);
 int run_command(struct child_process *);
 
+/*
+ * Returns the path to the hook file, or NULL if the hook is missing
+ * or disabled. Note that this points to static storage that will be
+ * overwritten by further calls to find_hook and run_hook_*.
+ */
 extern const char *find_hook(const char *name);
 LAST_ARG_MUST_BE_NULL
 extern int run_hook_le(const char *const *env, const char *name, ...);
@@ -114,5 +119,6 @@ struct async {
 
 int start_async(struct async *async);
 int finish_async(struct async *async);
+int in_async(void);
 
 #endif