Files
git-mirror/Documentation
Junio C Hamano 749d6d166d config: values of pathname type can be prefixed with :(optional)
Sometimes people want to specify additional configuration data
as "best effort" basis.  Maybe commit.template configuration file points
at somewhere in ~/template/ but on a particular system, the file may not
exist and the user may be OK without using the template in such a case.

When the value given to a configuration variable whose type is
pathname wants to signal such an optional file, it can be marked by
prepending ":(optional)" in front of it.  Such a setting that is
marked optional would avoid getting the command barf for a missing
file, as an optional configuration setting that names a missing
file is not even seen.

cf. <xmqq5ywehb69.fsf@gitster.g>

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-10-07 10:05:48 -07:00
..
2025-08-07 08:48:57 -07:00
2025-03-01 10:26:15 -08:00
2025-02-18 15:30:31 -08:00
2025-02-14 17:53:47 -08:00
2025-06-17 10:44:38 -07:00
2025-08-04 08:10:33 -07:00
2025-02-14 17:53:47 -08:00
2025-07-21 09:14:27 -07:00