Revision d6f3ab573ee48927c7ef272e56b043758feb0a81 authored by Junio C Hamano on 05 August 2013, 17:11:10 UTC, committed by Junio C Hamano on 05 August 2013, 17:11:10 UTC
* dn/test-reject-utf-16: t3900: test rejecting log message with NULs correctly Add missing test file for UTF-16.
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);
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...