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

Re: Still using "git whatchanged"

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 2, 2025, 16:29 UTC
Message-ID
<xmqqcy88lsw3.fsf@gitster.g>
In-Reply-To
<74c5f07d-6376-4787-a5e2-bb09abc58ce1@app.fastmail.com>
jorg@ml1.net writes:
Show 5 quoted lines
> apart from what's stated in the subject, I think it's not logical
> to use "--raw" when I want to see what has changed.
>
> "git log" shows me the log. What's the raw part about wanting to
> see what's changed?

But that is what "git whatchanged" gives, so when one is so attached to what "git whatchanged" does, "--raw" is what we cite as "compatible" option.

If you want to really see what hash changed, there are other and better options, depending on what level of details you would want to go into, ranging from --name-only to -p. My personal preference is "log --compact-summary" but I do not want to force my preference on those who want to stick to the output from "whatchanged".

Previous: jorg@ml1.netNext: jorg@ml1.net
Message 2 of 7 in “Still using "git whatchanged"”
  1. jorg@ml1.netSep 2, 2025
  2. Junio C HamanoSep 2, 2025
  3. jorg@ml1.netSep 2, 2025
  4. Junio C HamanoSep 2, 2025
  5. jorg@ml1.netSep 3, 2025
  6. Kristoffer HaugsbakkSep 3, 2025
  7. jorg@ml1.netSep 3, 2025

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.