I am counting lines with cloc using this command:
cloc --ignore-case --ignore-whitespace --diff src-copy/file.c src/file.c
and it tells me that I added 103 lines.
When I count the same file with 'git diff' it tells me that I have added 136 lines:
git diff --stat --ignore-blank-lines -w src-copy/file.c src/file.c
How can I verify that cloc counts the lines correctly? Is there any option to output the actual difference of both files, so I can visually inspect and understand why the results of both programs do not match ?