diffcore-pickaxe: respect --no-textconv
commita8f6109428b868611c0a59e6894e2b6b38c34e1b
authorSimon Ruderich <simon@ruderich.org>
Fri, 5 Apr 2013 13:16:30 +0000 (5 15:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Apr 2013 17:30:44 +0000 (5 10:30 -0700)
tree92266b799433bab33552abb6e621c2a883ddfb6a
parent7cdb9b42c359000b1d3d604f847598afd015b7c7
diffcore-pickaxe: respect --no-textconv

git log -S doesn't respect --no-textconv:

    $ echo '*.txt diff=wrong' > .gitattributes
    $ git -c diff.wrong.textconv='xxx' log --no-textconv -Sfoo
    error: cannot run xxx: No such file or directory
    fatal: unable to read files to diff

Reported-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Signed-off-by: Simon Ruderich <simon@ruderich.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-pickaxe.c
t/t4209-log-pickaxe.sh