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

Re: Possible bug: --ext-diff ignored with --cc in git log

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 11, 2016, 19:08 UTC
Message-ID
<xmqqr3fgal3j.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160311185828.GA31750@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 13 quoted lines
>> It happens that the above is fairly easily doable with today's Git
>> without any modification.  Here is how.
>> [...]
>
> I think an even easier way is:
>
>   git log --cc --raw
>
> I know that is somewhat beside the point you are making, which is how we
> should handle "--cc" with ext-diff. But I would much rather have us
> show nothing for that case, and let the user turn on "--raw", than to
> invent a diff-looking format that does not actually represent the file
> contents.
Sorry, but I am not sure where you are trying to go with this.

I understand that the original issue was that Vadim wants to suppress reams of differences for _some_ paths but still wants to benefit from the textual summarized diff for all the other paths. Giving "--raw" would be global, and would affect other paths, no?

Previous: Jeff KingNext: Jeff King
Message 6 of 8 in “Possible bug: --ext-diff ignored with --cc in git log”
  1. Vadim ZeitlinMar 9, 2016
  2. Junio C HamanoMar 10, 2016
  3. Re[2]: Possible bug: --ext-diff ignored with --cc in git logVadim Zeitlin, Mar 11, 2016
  4. Junio C HamanoMar 11, 2016
  5. Jeff KingMar 11, 2016
  6. Junio C HamanoMar 11, 2016
  7. Jeff KingMar 11, 2016
  8. Re[2]: Possible bug: --ext-diff ignored with --cc in git logVadim Zeitlin, Mar 12, 2016

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.