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

1 messages from 2023-04-12 to 2023-04-12. Participants: Kristian Amlie.
Thread: https://gitlist.dev/t/59583

## Kristian Amlie, 2023-04-12 09:40

Subject: range-diff: Display new commits' diffs as well
Message-ID: <6813396c-6faa-f34d-992f-648a8d4462ea@northern.tech>
URL: https://gitlist.dev/e/6813396c-6faa-f34d-992f-648a8d4462ea%40northern.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>

```
