Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
bundle: split out ref writing from bundle_create
[gitweb.git]
/
trailer.c
diff --git
a/trailer.c
b/trailer.c
index 85145665640d3569b5513c712335da4de21743d3..7ff036cb84d47169c5e4b7dc29619a1efbb12ce2 100644
(file)
--- a/
trailer.c
+++ b/
trailer.c
@@
-237,7
+237,7
@@
static const char *apply_command(const char *command, const char *arg)
strbuf_replace(&cmd, TRAILER_ARG_STRING, arg);
argv[0] = cmd.buf;
-
memset(&cp, 0, sizeof(cp)
);
+
child_process_init(&cp
);
cp.argv = argv;
cp.env = local_repo_env;
cp.no_stdin = 1;