diff options
Diffstat (limited to 'run-command.h')
-rw-r--r-- | run-command.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/run-command.h b/run-command.h index 0f3cc73ab6..ef3071a565 100644 --- a/run-command.h +++ b/run-command.h @@ -218,12 +218,18 @@ LAST_ARG_MUST_BE_NULL int run_hook_le(const char *const *env, const char *name, ...); int run_hook_ve(const char *const *env, const char *name, va_list args); +/* + * Trigger an auto-gc + */ +int run_auto_gc(int quiet); + #define RUN_COMMAND_NO_STDIN 1 #define RUN_GIT_CMD 2 /*If this is to be git sub-command */ #define RUN_COMMAND_STDOUT_TO_STDERR 4 #define RUN_SILENT_EXEC_FAILURE 8 #define RUN_USING_SHELL 16 #define RUN_CLEAN_ON_EXIT 32 +#define RUN_WAIT_AFTER_CLEAN 64 /** * Convenience functions that encapsulate a sequence of |