Jiang Xin <worldhello....@gmail.com> writes:

> -static void write_name(const char* name, size_t len)
> +static void write_name(const char *name)
>  {
> -     write_name_quoted_relative(name, len, prefix, prefix_len, stdout,
> -                     line_terminator);
> +
> +     /* turn off prefix, if run with "--full-name" */
> +     write_name_quoted_relative(name, prefix_len ? prefix : NULL,
> +                                stdout, line_terminator);


Does this mean that ls-files has been broken in 03/16, because
write_name_quoted_relative() was made to ignore prefix_len and
measure the length of prefix with strlen(prefix), and this change
fixes it?
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to