git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] treat any file with NUL as binary

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 15, 2008, 23:11 UTC
Message-ID
<7vsl0yd6r8.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1200407309-10992-1-git-send-email-dpotapov@gmail.com>
Dmitry Potapov <dpotapov@gmail.com> writes:
> So, please, consider it for inclusion as a bug fix.

Somebody has to go back to the "git log" output and the list archive to see if you two did not forget other ramifications, because I vaguely recall this 1% thing was done for a reason and Linus had a very good argument (at least back then the argument sounded very good to me) supporting the deliberate difference between the two "binary" heuristics.

If I did not have that vague recollection and all I had to judge the proposed change were the issue in this thread, I'd probably agree this is a good change, though.

Previous: Steffen ProhaskaNext: Dmitry Potapov
Message 3 of 7 in “treat any file with NUL as binary”
  1. treat any file with NUL as binaryDmitry Potapov, Jan 15, 2008
  2. Steffen ProhaskaJan 15, 2008
  3. Junio C HamanoJan 15, 2008
  4. Dmitry PotapovJan 16, 2008
  5. Junio C HamanoJan 16, 2008
  6. Junio C HamanoJan 16, 2008
  7. treat any file with NUL as binaryDmitry Potapov, Jan 16, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.