commit-graph: use progress title directly
commitd68ce906c7e1b2bb28a389b915cb63ddbae43365
authorRené Scharfe <l.s.r@web.de>
Thu, 20 Feb 2020 18:49:18 +0000 (20 19:49 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Feb 2020 17:36:22 +0000 (27 09:36 -0800)
tree1061bcae771f67621d223d3849cbd8ed41026b45
parent1771be90c8e4797c2466296d1d570dbfa39d9743
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>
commit-graph.c