branch -d: refuse deleting a branch which is currently checked out
[gitweb.git] / run-command.h
index 5428b048e2c49dec3e322ac2a46ffddd012e4c8d..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 *);
@@ -120,5 +121,6 @@ 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