summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-10-04 18:17:39 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-05 12:46:27 -0700
commitb004c9028270832aec73746fdddd5c7bce8dbe84 (patch)
tree23e4976cec6d26f3d4551a27ce234634dd0880e4 /builtin/commit.c
parent3dcec76d9df911ed8321007b1d197c1a206dc164 (diff)
gc: simplify maintenance_task_pack_refs()
Pass a constant string array directly to run_command_v_opt() instead of copying it into a strvec first. This shortens the code and avoids heap allocations. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions