]> git.ipfire.org Git - thirdparty/git.git/blobdiff - run-command.h
Start the 2.46 cycle
[thirdparty/git.git] / run-command.h
index 1f22cc3827d7d0c53119d085c3ef53a6ab3c36fd..55f6631a2aa3425f897aab901897e0d225b02fa5 100644 (file)
@@ -217,6 +217,13 @@ int finish_command_in_signal(struct child_process *);
  */
 int run_command(struct child_process *);
 
+/*
+ * Prepare a `struct child_process` to run auto-maintenance. Returns 1 if the
+ * process has been prepared and is ready to run, or 0 in case auto-maintenance
+ * should be skipped.
+ */
+int prepare_auto_maintenance(int quiet, struct child_process *maint);
+
 /*
  * Trigger an auto-gc
  */