From: Junio C Hamano <gitster@pobox.com>
To: Gerrit Pape <pape@smarden.org>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] introduce config core.binaryCheckFirstBytes for xdiff-interface
Date: Fri, 07 Sep 2007 14:19:33 -0700 [thread overview]
Message-ID: <7vodge2mxm.fsf@gitster.siamese.dyndns.org> (raw)
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?
prev parent reply other threads:[~2007-09-07 21:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-07 19:14 [PATCH] introduce config core.binaryCheckFirstBytes for xdiff-interface Gerrit Pape
2007-09-07 21:19 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vodge2mxm.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=pape@smarden.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).