Simon Ruderich <si...@ruderich.org> writes:

> This patch should fix it.

It does.

> --- a/diffcore-pickaxe.c
> +++ b/diffcore-pickaxe.c
> @@ -78,7 +78,6 @@ static void fill_one(struct diff_filespec *one,
>                    mmfile_t *mf, struct userdiff_driver **textconv)
>  {
>       if (DIFF_FILE_VALID(one)) {
> -             *textconv = get_textconv(one);
>               mf->size = fill_textconv(*textconv, one, &mf->ptr);
>       } else {
>               memset(mf, 0, sizeof(*mf));

I don't understand why this is needed (not rethorical, I just didn't
investigate), but the rest of the code looks straightforward and
correct.

Thanks,

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
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