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

Re: Still using "git whatchanged"

From
Jjorg@ml1.net <jorg@ml1.net>
Date
Sep 2, 2025, 16:38 UTC
Message-ID
<6597b201-8087-462e-adc0-0ddaa8a7402e@app.fastmail.com>
In-Reply-To
<xmqqcy88lsw3.fsf@gitster.g>
On Tue, Sep 2, 2025, at 19:29, Junio C Hamano wrote:
Show 11 quoted lines
> jorg@ml1.net writes:
>
>> 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.
My point was merely that IMO "raw" is not the best name for that option. When I specify "--raw" on the command line, I usually expect the program to output similar data than without that option, but of a less refined state or kind.
In this case "--raw" means "do the same thing as without --raw (i.e. git log), but _in_addition_ tell me which files changed". That's why I think it's not the best name for that option.
I'm not sure if this is the right forum for this discussion, but if I were asked, I'd vote to rename "--raw" to "--whatchanged" and be... almost happy with removing "git whatchanged" (insert tear-smiley here).
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 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.