Staging
v0.5.1
https://github.com/git/git
Revision 42b5c78845feb44f1d36eecad4c72336d5c2a9c5 authored by Junio C Hamano on 15 April 2006, 06:21:34 UTC, committed by Junio C Hamano on 15 April 2006, 06:21:34 UTC
I've merged everything I think is ready for 1.3.0, so this is
the final round -- hopefully I can release this with minimum
last-minute fixup as v1.3.0 early next week.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 170abc8
Raw File
Tip revision: 42b5c78845feb44f1d36eecad4c72336d5c2a9c5 authored by Junio C Hamano on 15 April 2006, 06:21:34 UTC
GIT v1.3.0-rc4
Tip revision: 42b5c78
run-command.h
#ifndef RUN_COMMAND_H
#define RUN_COMMAND_H

#define MAX_RUN_COMMAND_ARGS 256
enum {
	ERR_RUN_COMMAND_FORK = 10000,
	ERR_RUN_COMMAND_EXEC,
	ERR_RUN_COMMAND_WAITPID,
	ERR_RUN_COMMAND_WAITPID_WRONG_PID,
	ERR_RUN_COMMAND_WAITPID_SIGNAL,
	ERR_RUN_COMMAND_WAITPID_NOEXIT,
};

#define RUN_COMMAND_NO_STDIO 1
#define RUN_GIT_CMD	     2	/*If this is to be git sub-command */
int run_command_v_opt(int argc, const char **argv, int opt);
int run_command_v(int argc, const char **argv);
int run_command(const char *cmd, ...);

#endif
back to top