author | Junio C Hamano <gitster@pobox.com> | |
Fri, 6 Jul 2007 07:18:54 +0000 (00:18 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 6 Jul 2007 07:21:41 +0000 (00:21 -0700) | ||
commit | 29a3eefde111f6a24292163c4308f00ab3572627 | |
tree | e074c7fd73a777c45cd8d95a27a1dcc879532ceb | tree | snapshot |
parent | 46f74f007b86452c4b4135f5145f94eefc994ea2 | commit | diff |
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>
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 | diff | blob | history | |
diffcore-delta.c | diff | blob | history | |
diffcore.h | diff | blob | history |