Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Have start_command() create a pipe to read the stderr of the child.
[gitweb.git]
/
fast-import.c
diff --git
a/fast-import.c
b/fast-import.c
index a870a44e3d1a266f856738ac1242158482dc59dc..e9c80be4cd3f2833dd227e3d2f3c69e2145935e2 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-1562,7
+1562,7
@@
static int read_next_command(void)
} else {
struct recent_command *rc;
- strbuf_detach(&command_buf);
+ strbuf_detach(&command_buf
, NULL
);
stdin_eof = strbuf_getline(&command_buf, stdin, '\n');
if (stdin_eof)
return EOF;