Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

[BUG] git log -S not respecting --no-textconv

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:56:37

Hi,

It seems the command "git log --no-textconv -Sfoo" still runs the
textconv filter (noticed because I have a broken textconv filter that
lets "git log -S" error out).

Steps to reproduce:

Create a repo with *.txt file(s) in it
$ echo '*.txt diff=wrong' > .gitattributes

An incorrect textconv filter errors out as expected:

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

but --no-textconv has no effect:

$ 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

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help