diff options
author | René Scharfe <l.s.r@web.de> | 2020-02-20 19:49:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-27 09:36:22 -0800 |
commit | d68ce906c7e1b2bb28a389b915cb63ddbae43365 (patch) | |
tree | 1061bcae771f67621d223d3849cbd8ed41026b45 /builtin/clone.c | |
parent | commit-graph: merge commit-graph chains (diff) | |
download | tgif-d68ce906c7e1b2bb28a389b915cb63ddbae43365.tar.xz |
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>
Diffstat (limited to 'builtin/clone.c')
0 files changed, 0 insertions, 0 deletions