Re: git diff --ignore-space-at-eol issue

2012-12-28 Thread Antoine Pelisse
The --ignore-space-at-eol option is ignored when used in conjunction with --name-status. It works fine otherwise. Indeed the behavior of diff --stat, and etc has been corrected very recently to make it more consistent across all options. I don't know if the new behavior is exactly what you

RE: git diff --ignore-space-at-eol issue

2012-12-28 Thread John Moon
$ git diff --ignore-space-at-eol test.txt $ git diff --ignore-space-at-eol --stat test.txt test.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) $ git diff --ignore-space-at-eol --name-status test.txt M test.txt The idea is that even though diff doesn't show any differences, stat,

Re: git diff --ignore-space-at-eol issue

2012-12-28 Thread Antoine Pelisse
Then you should give the output of diff --stat, and he will be able to ignore files with no changes. The change was originally made for permission changes. diff --stat needs to show files have changed even though, indeed, there is no diff output. You could also use --numstat and filter out files

git diff --ignore-space-at-eol issue

2012-12-21 Thread John Moon
Hi all, The --ignore-space-at-eol option is ignored when used in conjunction with --name-status. It works fine otherwise. $ git init Initialized empty Git repository in /tmp/test/.git/ $ printf hello\r\n test.txt $git -c core.autocrlf=false add test.txt $git commit -m. [master (root-commit)