summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-02-25 19:24:39 +0100
committerJunio C Hamano <gitster@pobox.com>2024-02-26 09:45:57 -0800
commit9a97b43e035e0770d5bbe1b0afe1c5e80eb05f99 (patch)
treebca0876d5c8aad39545dad519321bf1216489c69 /builtin/commit.c
parent3c2a3fdc388747b9eaf4a4a4f2035c1c9ddb26d0 (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