diff -ur dir1 dir2 | diffstat
this is similar to git diff --stat, but diffstat is ignoring "Only in dir1" and "Only in dir2" files, whereas git diff adds it to deletion and insertion counts respectively. Is there a way to make diffstat to do the same?
Simpler:
using GNU diff's
-Noption, e.g., when comparing directories: