diff options
author | René Scharfe <l.s.r@web.de> | 2024-02-25 19:24:39 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-02-26 09:45:57 -0800 |
commit | 9a97b43e035e0770d5bbe1b0afe1c5e80eb05f99 (patch) | |
tree | bca0876d5c8aad39545dad519321bf1216489c69 /builtin/commit.c | |
parent | 3c2a3fdc388747b9eaf4a4a4f2035c1c9ddb26d0 (diff) |
submodule: use strvec_pushf() for --submodule-prefix
Add the option --submodule-prefix and its argument directly using
strvec_pushf() instead of via a detour through a strbuf. This is
shorter, easier to read and doesn't require any explicit cleanup
afterwards.
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