Commit d68ce90
commit-graph: use progress title directly
merge_commit_graphs() copies the (translated) progress message into a
strbuf and passes the copy to start_delayed_progress() at each loop
iteration. The latter function takes a string pointer, so let's avoid
the detour and hand the string to it directly. That's shorter, simpler
and slightly more efficient.
Signed-off-by: René Scharfe <l.s.r@web.de>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 1771be9 commit d68ce90
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1590 | 1590 | | |
1591 | 1591 | | |
1592 | 1592 | | |
1593 | | - | |
1594 | 1593 | | |
1595 | 1594 | | |
1596 | 1595 | | |
1597 | 1596 | | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
1601 | | - | |
| 1597 | + | |
| 1598 | + | |
1602 | 1599 | | |
1603 | 1600 | | |
1604 | 1601 | | |
1605 | | - | |
1606 | 1602 | | |
1607 | 1603 | | |
1608 | 1604 | | |
| |||
0 commit comments