]> asedeno.scripts.mit.edu Git - git.git/blobdiff - fast-import.c
Merge branch 'maint'
[git.git] / fast-import.c
index a870a44e3d1a266f856738ac1242158482dc59dc..e9c80be4cd3f2833dd227e3d2f3c69e2145935e2 100644 (file)
@@ -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;