X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-checkout-index.c;h=70d619da8d051f8d739911cfbbf8a5255787ec07;hb=cb891a5989c41ed479db9eb4b0a69cef8bb98ea8;hp=e6264c4bf0ef537ea7ea2127133d1fad5a33b7d6;hpb=7fb1011e610a28518959b1d2d48cea17ecc32048;p=git.git diff --git a/builtin-checkout-index.c b/builtin-checkout-index.c index e6264c4bf..70d619da8 100644 --- a/builtin-checkout-index.c +++ b/builtin-checkout-index.c @@ -66,9 +66,7 @@ static void write_tempfile_record(const char *name, int prefix_length) fputs(topath[checkout_stage], stdout); putchar('\t'); - write_name_quoted("", 0, name + prefix_length, - line_termination, stdout); - putchar(line_termination); + write_name_quoted(name + prefix_length, stdout, line_termination); for (i = 0; i < 4; i++) { topath[i][0] = 0;