Re: git diff --exit-code does not honour textconv setting

2016-04-05 Thread Michael J Gruber
Junio C Hamano venit, vidit, dixit 06.04.2016 01:16: > Michael J Gruber writes: > >>> The "test" command is used as it does not generate any output on stdout. >> >> "test" is a bit of a red herring here since it will receive commands. >> But your example works even with "true" which ignores its c

Re: git diff --exit-code does not honour textconv setting

2016-04-05 Thread Junio C Hamano
Michael J Gruber writes: >> The "test" command is used as it does not generate any output on stdout. > > "test" is a bit of a red herring here since it will receive commands. > But your example works even with "true" which ignores its commands and > produces no output. Either sounds strange, as

Re: git diff --exit-code does not honour textconv setting

2016-04-05 Thread Michael J Gruber
Georg Pichler venit, vidit, dixit 20.03.2016 13:43: > Hi, > > I realized that "git diff --exit-code" does not honour textconv settings. > Maybe this behaviour is desired. It can be partially circumvented by using > the "-b" flag if one does not care about whitespace changes. > To reproduce this,

git diff --exit-code does not honour textconv setting

2016-03-20 Thread Georg Pichler
Hi, I realized that "git diff --exit-code" does not honour textconv settings. Maybe this behaviour is desired. It can be partially circumvented by using the "-b" flag if one does not care about whitespace changes. To reproduce this, create an empty repository and run the following commands: (I w