]> git.ipfire.org Git - thirdparty/git.git/commit
meson: consistently use custom program paths to resolve programs
authorPatrick Steinhardt <ps@pks.im>
Wed, 26 Feb 2025 08:22:22 +0000 (09:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Feb 2025 17:09:37 +0000 (09:09 -0800)
commit2c374ea4bb47c84f80f905df3a00b7d724386a28
tree04d5d52426e2757ab8a87059059a1a3975a753a4
parent3ee3a6eb522fd3ad672e7734e5708f5ddcc63fce
meson: consistently use custom program paths to resolve programs

The calls to `find_program()` in our documentation don't use our custom
program path. This variable gets populated on Windows with the location
of Git for Windows so that we can use it to provide our build tools.
Consequently, we may not be able to find all necessary binaries on
Windows.

Adapt the calls to use the program path to fix this. While at it, drop
`required: true` arguments, which are the default anyway.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/meson.build