How to force `git range-diff` to display line numbers?

75 views Asked by At

My git version is 2.28.0

When I did git range-diff HASH...HASH I get:

enter image description here

But how to force git range-diff to display lines, like usual diff/show does:

git show 4b8f08e8

enter image description here

1

There are 1 answers

0
AudioBubble On

This isn't possible with git range-diff and the documentation doesn't say anything about this. You will have to git show HASH the commits to see the lines.