branch -d: refuse deleting a branch which is currently checked out
[gitweb.git] / run-command.h
index 275d35c442ac575f8f3f40aeb915cd0d341c776f..c0969c7695f6b550b382b5704ceb9b2c23b3e3e0 100644 (file)
@@ -47,6 +47,7 @@ struct child_process {
 
 #define CHILD_PROCESS_INIT { NULL, ARGV_ARRAY_INIT, ARGV_ARRAY_INIT }
 void child_process_init(struct child_process *);
+void child_process_clear(struct child_process *);
 
 int start_command(struct child_process *);
 int finish_command(struct child_process *);
@@ -119,5 +120,7 @@ struct async {
 
 int start_async(struct async *async);
 int finish_async(struct async *async);
+int in_async(void);
+void NORETURN async_exit(int code);
 
 #endif