diff: honor binariness specified in attributes
commit2c3fa66f3577d1305fb0fac5a181261fb2597859
authorJunio C Hamano <gitster@pobox.com>
Sat, 7 Jul 2007 19:25:11 +0000 (7 12:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Jul 2007 19:25:11 +0000 (7 12:25 -0700)
tree78b112202bbe518d5e9f2e8973674244a02fa593
parente0e324a4dc18a4341e1320a7cfac9733d81f8b0b
diff: honor binariness specified in attributes

The code shuffling mistakenly lost binariness specified with the
attribute mecahnism and made it always guess from the data.

Noticed by Johannes, with two test cases to t4020.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
t/t4020-diff-external.sh