Thread (1 message) 1 message, 1 author, 2025-11-20

Re: [PATCH] config: really pretend missing :(optional) value is not there

From: Junio C Hamano <hidden>
Date: 2025-11-20 22:40:56
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

"D. Ben Knoble" [off-list ref] writes:
quoted
 config.c                   |  1 +
 t/t1311-config-optional.sh | 36 ++++++++++++++++++++++++++++++
 3 files changed, 73 insertions(+), 9 deletions(-)
This needs a tweak to Meson, probably in t/meson.build, for the new
test script. Otherwise Meson-based packages (like Gentoo) won't build.
Yup.
diff --git a/t/meson.build b/t/meson.build
index bbeba1a8d5..137c0caea0 100644
--- a/t/meson.build
+++ b/t/meson.build
@@ -182,6 +182,7 @@ integration_tests = [
   't1308-config-set.sh',
   't1309-early-config.sh',
   't1310-config-default.sh',
+  't1311-config-optional.sh',
   't1350-config-hooks-path.sh',
   't1400-update-ref.sh',
   't1401-symbolic-ref.sh',
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help