From: Junio C Hamano Date: Fri, 07 Sep 2007 21:19:33 GMT Subject: Re: [PATCH] introduce config core.binaryCheckFirstBytes for xdiff-interface Message-ID: <7vodge2mxm.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20070907191421.5526.qmail@f74fa18bc10c8f.315fe32.mid.smarden.org> Gerrit Pape 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?