git diff: print hunk numbers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is that possible/how to print hunk numbers with git diff?

F.ex. instead of:

@@ -106,7 +110,6 @@ while ($r < $statement_count)
...

To print something like:

@@ -106,7 +110,6 @@ 4 @@ while ($r < $statement_count)
...

filterdiff uses hunk numbers intensively. Work with line-number ranges
is not so effective.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux