aboutsummaryrefslogtreecommitdiffstats
path: root/git.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 /git.c
parentGit 2.44 (diff)
downloadgit-9a97b43e035e0770d5bbe1b0afe1c5e80eb05f99.tar.gz
git-9a97b43e035e0770d5bbe1b0afe1c5e80eb05f99.zip
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 'git.c')
0 files changed, 0 insertions, 0 deletions