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

Re: Why a _full_ diff? (was: [PATCH] Char: serial167, cleanup (fwd))

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 12, 2007, 12:00 UTC
Message-ID
<Pine.LNX.4.63.0702121257590.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20070212093813.GA15779@coredump.intra.peff.net>
Hi,
On Mon, 12 Feb 2007, Jeff King wrote:
Show 9 quoted lines
> On Mon, Feb 12, 2007 at 04:20:30AM -0500, Jeff King wrote:
> 
> > > | diff --git a/drivers/char/serial167.c b/drivers/char/serial167.c
> > > | dissimilarity index 67%
> > > | index af50d32..5fd314a 100644
> 
> OK, I see now. This is triggered by using 'git show -B', which breaks
> the diff apart into a big rewriting chunk. Unfortunately, I don't know
> enough about how -B works to say whether this makes sense or not.

AFAICT you can provide a minimum score with -B, just as with -M, i.e. if the diff score is larger than this value, it is interpreted as a complete rewrite.

Hth, Dscho

Previous: Jeff King
Message 5 of 5 in “Why a _full_ diff? (was: [PATCH] Char: serial167, cleanup (fwd))”
  1. Geert UytterhoevenFeb 12, 2007
  2. Jeff KingFeb 12, 2007
  3. Jeff KingFeb 12, 2007
  4. Jeff KingFeb 12, 2007
  5. Johannes SchindelinFeb 12, 2007

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.