diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-08-13 04:33:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-13 10:44:52 -0700 |
commit | d1f87a2d9c4877ada003c231b92de7560eab62ed (patch) | |
tree | 3b133f8532e498711526e82a95ae284084c206b2 /builtin/for-each-ref.c | |
parent | completion: support `git range-diff` (diff) | |
download | tgif-d1f87a2d9c4877ada003c231b92de7560eab62ed.tar.xz |
range-diff: left-pad patch numbers
As pointed out by Elijah Newren, tbdiff has this neat little alignment
trick where it outputs the commit pairs with patch numbers that are
padded to the maximal patch number's width:
1: cafedead = 1: acefade first patch
[...]
314: beefeada < 314: facecab up to PI!
Let's do the same in range-diff, too.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/for-each-ref.c')
0 files changed, 0 insertions, 0 deletions