I am using:
git diff --ignore-space-at-eol -b -w --ignore-blank-lines --ignore-cr-at-eol COMMIT1 COMMIT2
to diff two commits removing white space but it still shows the following which is basically only a newline change:
- <div class="model-content" style="border: 2px solid #d5001e;border-radius: 8px;">
- <div class="model-header" style="border-bottom: 1px solid #d5001e;background: #d5001c;">
+ <div class="model-content"
+ style="border: 2px solid #d5001e;border-radius: 8px;">
+ <div class="model-header"
+ style="border-bottom: 1px solid #d5001e;background: #d5001c;">
Question: how to make git diff
ignore these new lines?