threads / discuss / 59583

range-diff: Display new commits' diffs as well

Subject: range-diff: Display new commits' diffs as well

## tl;dr

One message between Apr 12, 2023 and Apr 12, 2023.

replies: 0people: 1as markdown or json

Kristian Amlie· Apr 12, 2023, 09:40 UTC · lore

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>

← back to recent threads