]> git.99rst.org Git - git.git/commit
parseopt: values of pathname type can be prefixed with :(optional)
authorJunio C Hamano <redacted>
Sun, 28 Sep 2025 21:29:16 +0000 (17:29 -0400)
committerJunio C Hamano <redacted>
Tue, 7 Oct 2025 17:05:48 +0000 (10:05 -0700)
commitccfcaf399ffcc91553395a8de8e833e7685e7cc2
tree42f7409a32b8414fbd9f1923ad62115ef7cee3bc
parent749d6d166d8e3ea0ae32ede25f9aa23aa3b5e42b
parseopt: values of pathname type can be prefixed with :(optional)

In the previous step, we introduced an optional filename that can be
given to a configuration variable, and nullify the fact that such a
configuration setting even existed if the named path is missing or
empty.

Let's do the same for command line options that name a pathname.

Signed-off-by: Junio C Hamano <redacted>
Signed-off-by: Taylor Blau <redacted>
Signed-off-by: D. Ben Knoble <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/gitcli.adoc
parse-options.c
t/t7500-commit-template-squash-signoff.sh
git clone https://git.99rst.org/PROJECT