]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
i18n: factorize "--foo requires --bar" and the like
authorJean-Noël Avila <jn.avila@free.fr>
Wed, 5 Jan 2022 20:02:19 +0000 (20:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Jan 2022 21:31:00 +0000 (13:31 -0800)
commit6fa00ee843cb6c8e720180b4642590f5bcc9c8cf
tree2963fe6acddc78f97e96401a127f7d5594330275
parent408c5c5c79c1d8f423625c65f69c8f62a0901f6b
i18n: factorize "--foo requires --bar" and the like

They are all replaced by "the option '%s' requires '%s'", which is a
new string but replaces 17 previous unique strings.

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Reviewed-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
21 files changed:
archive.c
builtin/add.c
builtin/checkout.c
builtin/commit.c
builtin/fast-export.c
builtin/index-pack.c
builtin/log.c
builtin/reset.c
builtin/rm.c
builtin/stash.c
builtin/worktree.c
fetch-pack.c
http-fetch.c
revision.c
t/t2026-checkout-pathspec-file.sh
t/t2072-restore-pathspec-file.sh
t/t3601-rm-pathspec-file.sh
t/t3704-add-pathspec-file.sh
t/t3909-stash-pathspec-file.sh
t/t7107-reset-pathspec-file.sh
t/t7526-commit-pathspec-file.sh