diff options
| author | René Scharfe <l.s.r@web.de> | 2022-10-04 18:17:39 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-10-05 12:46:27 -0700 |
| commit | b004c9028270832aec73746fdddd5c7bce8dbe84 (patch) | |
| tree | 23e4976cec6d26f3d4551a27ce234634dd0880e4 /git-gui/lib/commit.tcl | |
| parent | 3dcec76d9df911ed8321007b1d197c1a206dc164 (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 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions
