Re: [PATCH] introduce config core.binaryCheckFirstBytes for xdiff-interface
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 7, 2007, 21:19 UTC
- Message-ID
- <7vodge2mxm.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20070907191421.5526.qmail@f74fa18bc10c8f.315fe32.mid.smarden.org>
Gerrit Pape <pape@smarden.org> writes:
> xdiff-interface uses a hardcoded value of 8000 bytes to check from > the top of data whether to handle it as binary content. If a NULL > character appears after the first 8000 bytes, git won't notice,
If the user has to set this to suit git better for a particular project, I think the same effort is better spent on setting up the attribute for that file so that git does not have to guess the type, no?