How to ignore spaces when using git whatchanged -p?

I can use

git whatchanged -p

to show a log of all the changes I made to the repository using diff inline.

I can use

git diff -b

or

git diff -w

to show one diff that ignores different numbers of spaces.

How do I pass this parameter to whatchanged to print a list of changes made to my repository with built-in differences that ignore changes in the form of spaces?

+5
source share
1 answer

How about using git log -p -w? I believe that this is the same result as whatchanged -p.

+6
source

All Articles