commit | 29a3eefde111f6a24292163c4308f00ab3572627 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Fri Jul 06 00:18:54 2007 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Jul 06 00:21:41 2007 -0700 |
tree | e074c7fd73a777c45cd8d95a27a1dcc879532ceb | |
parent | 46f74f007b86452c4b4135f5145f94eefc994ea2 [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>