diff: make --dirstat binary-file safe
commitc04a7155a03e5ef089864912769baf9001f64aa9
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Feb 2008 01:06:58 +0000 (12 17:06 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2008 08:25:28 +0000 (9 01:25 -0700)
tree3f909468ce65e9c870069276deea2dbae4788035
parent2a5fe2545882721d6841bad11dae0f15b454bf0d
diff: make --dirstat binary-file safe

Instead of counting added and removed lines (and mixing the byte size
reported for binary files in the result), summarize the extent of damage
the same way as we count similarity for rename detection.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c