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

Re: [BUG] In git-log, --name-status flag overrides the --patch flag

From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date
Dec 21, 2020, 13:16 UTC
Message-ID
<X+CgJCj7/tadldUg@danh.dev>
In-Reply-To
<CAFDeuWOit1vKUT38Uvbj2wAsb5CBo59p2h=SE6FGNb6XGOGG-w@mail.gmail.com>
On 2020-12-20 01:23:05-0300, Érico Rolim <erico.erc@gmail.com> wrote:
Show 14 quoted lines
> Hi!
> 
> When using the command
> 
>   git log --patch --name-status
> 
> It seems the name-status flag somehow overrides the patch flag, by which I mean
> that I get the same output as simply running
> 
>   git log --name-status
> 
> It would be nice for the combination of these two flags to work, as it would
> allow one to view both a summary of changed files as well as the changes
> themselves, at the same time.

I'm not arguing if this your expectation is make sense or not, however, the Documentation says something about "Show only"...

Anyway, --patch-with-raw provides more information than --patch --name-status combined. I guess it's too much information?

-- 
Danh
Previous: Érico RolimNext: Junio C Hamano
Message 2 of 4 in “[BUG] In git-log, --name-status flag overrides the --patch flag”
  1. Érico RolimDec 20, 2020
  2. Đoàn Trần Công DanhDec 21, 2020
  3. Junio C HamanoDec 21, 2020
  4. Đoàn Trần Công DanhDec 23, 2020

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.