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

range-diff: Display new commits' diffs as well

From
KAKristian Amlie <kristian.amlie@northern.tech>
Date
Apr 12, 2023, 09:40 UTC
Message-ID
<6813396c-6faa-f34d-992f-648a8d4462ea@northern.tech>

At the moment brand new commits in range-diff are simply displayed on one line. However, I often find it useful to view diffs of new commits in addition to the altered diffs of the existing commits, since I'm interested in everything that was added. I could not find a flag to enable this, so currently I have to check these out separately.

Would there be interest in having a flag like, say --show-new-commits (and possibly even --show-old-commits) to enable this output?

Obviously dual-color would be somewhat redundant here, but the exact output can be discussed.

-- 
Kristian Amlie
Mender <https://mender.io>
Message 1 of 1 in “range-diff: Display new commits' diffs as well”
  1. Kristian AmlieApr 12, 2023

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.