aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-02-18 08:45:54 +0100
committerJunio C Hamano <gitster@pobox.com>2025-02-18 11:40:03 -0800
commit1cee22ebff9621c849afa8d766d7627b291ec9d0 (patch)
treea34f630b31f560c5f3d08df66511aecbeef16b2f /meson.build
parent3f22889276ee75195f56bb3779ee8af5acbedbf0 (diff)
downloadgit-1cee22ebff9621c849afa8d766d7627b291ec9d0.tar.xz
meson: wire up credential helpers
We've got a couple of credential helpers in "contrib/credential", all of which aren't yet wired up via Meson. Do so. Note that ideally, we'd also wire up t0303 to be executed with each of the credential helpers to verify their functionality. Unfortunately though, none of them pass the test suite right now, so this is left for a future change. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index d77d7b6b60..20159cef83 100644
--- a/meson.build
+++ b/meson.build
@@ -771,7 +771,7 @@ endif
# features. It is optional if you want to neither execute tests nor use any of
# these optional features.
perl_required = get_option('perl')
-if get_option('tests') or get_option('gitweb').enabled()
+if get_option('tests') or get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers')
perl_required = true
endif