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

Re: [PATCH] bring description of git diff --cc up to date

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 23, 2008, 00:36 UTC
Message-ID
<7vfxq1igh0.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<Pine.GSO.4.62.0807221812470.25746@harper.uchicago.edu>
Jonathan Nieder <jrnieder@uchicago.edu> writes:
> +	This flag implies the '-c' option and makes the patch output
> +	even more compact by omitting uninteresting hunks.  A hunk is
> +	considered uninteresting if the person merging had two versions
> +	to choose between among all of the parents and the result shows

Hmm, I am not a native speaker, but the above makes me confused into thinking that even if there are 47 parent versions, it is Ok if I looked at only two versions and picked from one of them -- the description does not seem to make it clear that it is required that the other 45 agree with one of the two I looked at and picked from.

    ... if the contents in the parents had only two variants and the merge
    result picked one of them without modification.
would be succinct enough, perhaps?
If we want to further elaborate, we could say something like:
    In a two-parent merge, by definition, there can only be two variants
    to choose from.  Even in a merge with more than two parents, if some
    parents share the same content, and all the other parents share
    another, same content, there are only two variants to choose from.
but I think that is too verbose...
Previous: Jonathan NiederNext: Jonathan Nieder
Message 5 of 8 in “Re: [PATCH] bring description of git diff --cc up to date”
  1. Jonathan NiederJul 22, 2008
  2. Junio C HamanoJul 22, 2008
  3. Junio C HamanoJul 22, 2008
  4. Jonathan NiederJul 22, 2008
  5. Junio C HamanoJul 23, 2008
  6. Jonathan NiederJul 23, 2008
  7. Junio C HamanoJul 23, 2008
  8. Jonathan NiederJul 24, 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.