diff.c: emit_diff_symbol learns about DIFF_SYMBOL_BINARY_FILES
commit4acaaa7af65a62db1f58861170d9d3918103c1b9
authorStefan Beller <sbeller@google.com>
Fri, 30 Jun 2017 00:06:58 +0000 (29 17:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Jun 2017 20:13:01 +0000 (30 13:13 -0700)
tree75f5b4757ccba87491ea168d8961af87cb06b922
parenta29b0a13bd9a3708918808e75ca368f91905d2fe
diff.c: emit_diff_symbol learns about DIFF_SYMBOL_BINARY_FILES

we could save a little bit of memory when buffering in a later mode
by just passing the inner part ("%s and %s", file1, file 2), but
those a just a few bytes, so instead let's reuse the implementation from
DIFF_SYMBOL_HEADER and keep the whole line around.

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