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

Combined diff with name-only option

From
JBJanusz Białobrzewski <janusz.bialobrzewski@biu.pl>
Date
Jul 10, 2015, 10:39 UTC
Message-ID
<559FA0EF.2000409@biu.pl>
Hello,
When I run:
git diff-tree --cc 511f273b99af4529f6eb30069bb9070dc73fbbb4
As expected, I get the diff for the files that are changed in both parents.
When I run:
git diff-tree --cc --name-only 511f273b99af4529f6eb30069bb9070dc73fbbb4

I get all the files listed including ones that are changed only in one parent. I would expect to see only names of the files changed in both parents like in the case when --name-only parameter was not present. Is it a bug or is it done by design?

BR, Janusz.

Next: Junio C Hamano
Message 1 of 2 in “Combined diff with name-only option”
  1. Janusz BiałobrzewskiJul 10, 2015
  2. Junio C HamanoJul 10, 2015

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.