Staging
v0.5.1
https://github.com/git/git
Revision cee0c2750bb5f1b38f15ef961517e03c2e39c9ec authored by Junio C Hamano on 18 March 2014, 21:06:49 UTC, committed by Junio C Hamano on 18 March 2014, 21:16:16 UTC
The version numbering scheme has changed since Git 1.9 and we
dropped the third dewey-decimal from the traditional numbering
(e.g. both 1.8.4 and 1.8.5 were major feature releases).  This
release 1.9.1 is the first maintenance relase for Git 1.9.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 9526473
Raw File
Tip revision: cee0c2750bb5f1b38f15ef961517e03c2e39c9ec authored by Junio C Hamano on 18 March 2014, 21:06:49 UTC
Git 1.9.1
Tip revision: cee0c27
test-subprocess.c
#include "cache.h"
#include "run-command.h"

int main(int argc, char **argv)
{
	struct child_process cp;
	int nogit = 0;

	setup_git_directory_gently(&nogit);
	if (nogit)
		die("No git repo found");
	if (argc > 1 && !strcmp(argv[1], "--setup-work-tree")) {
		setup_work_tree();
		argv++;
	}
	memset(&cp, 0, sizeof(cp));
	cp.git_cmd = 1;
	cp.argv = (const char **)argv + 1;
	return run_command(&cp);
}
back to top