Introduce diff_filespec_is_binary()
commit29a3eefde111f6a24292163c4308f00ab3572627
authorJunio C Hamano <gitster@pobox.com>
Fri, 6 Jul 2007 07:18:54 +0000 (6 00:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Jul 2007 07:21:41 +0000 (6 00:21 -0700)
treee074c7fd73a777c45cd8d95a27a1dcc879532ceb
parent46f74f007b86452c4b4135f5145f94eefc994ea2
Introduce diff_filespec_is_binary()

This replaces an explicit initialization of filespec->is_binary
field used for rename/break followed by direct access to that
field with a wrapper function that lazily iniaitlizes and
accesses the field.  We would add more attribute accesses for
the use of diff routines, and it would be better to make this
abstraction earlier.

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