summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-06-29 20:01:24 +0200
committerJunio C Hamano <gitster@pobox.com>2024-07-01 12:18:22 -0700
commit4b837f821e94d38e56f678561123e0c602ca3a8d (patch)
tree0e51bfe5fb4c28a18af5d871633f7b6c25e22dce /builtin/commit.c
parent09e5e7f718f3c4259184770da816eb4a7c054d0b (diff)
submodule--helper: use strvec_pushf() for --super-prefix
Use the strvec_pushf() call that already appends a slash to also produce the stuck form of the option --super-prefix instead of adding the option name in a separate call of strvec_push() or strvec_pushl(). This way we can more easily see that these parts make up a single option with its argument and save a function call. 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