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

Re: -B option of git log

From
EMEckhard Maass <eckhard.maass@gmx.net>
Date
Feb 22, 2013, 10:14 UTC
Message-ID
<5127450C.5040908@gmx.net>
In-Reply-To
<20130222005704.GA24287@sigill.intra.peff.net>
On 02/22/2013 01:57 AM, Jeff King wrote:
Show 5 quoted lines
> I think the problem is that your test file is so tiny that it falls
> afoul of git's MINIMUM_BREAK_SIZE heuristic of 400 bytes (which prevents
> false positives on tiny files). Try replacing your "Lorem ipsum" echo
> with something like "seq 1 150", and I think you will find the result
> you are expecting.
Thanks. Two points, though:
With bigger files, I do get something like:
| M100  d
| R100  d       e

The rename is fine. But I am a bit puzzled mit the M - I, somehow, would have expected an A for add and not a M.

Secondly, would it be a good idea to enhance the documentation on that point to clarify this minimum size?

SEcki
Previous: Jeff King
Message 3 of 3 in “-B option of git log”
  1. Eckhard MaassFeb 22, 2013
  2. Jeff KingFeb 22, 2013
  3. Eckhard MaassFeb 22, 2013

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.