Commit 38bdf62
graph: use strbuf_addchars() to add spaces
strbuf_addf() can be used to add a specific number of space characters
by using the format "%*s" with an empty string and specifying the
desired width. Use strbuf_addchars() instead as it's shorter, makes the
intent clearer and is a bit more efficient.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 72d4a9a commit 38bdf62
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
| 699 | + | |
| 700 | + | |
705 | 701 | | |
706 | 702 | | |
707 | 703 | | |
| |||
787 | 783 | | |
788 | 784 | | |
789 | 785 | | |
790 | | - | |
| 786 | + | |
791 | 787 | | |
792 | 788 | | |
793 | 789 | | |
| |||
0 commit comments