]> git.ipfire.org Git - thirdparty/git.git/commit
meson: fix overwritten `git` variable
authorPatrick Steinhardt <ps@pks.im>
Wed, 26 Feb 2025 08:22:21 +0000 (09:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Feb 2025 17:09:37 +0000 (09:09 -0800)
commit3ee3a6eb522fd3ad672e7734e5708f5ddcc63fce
tree695d591d422e298393e83082d27068a1dd0682a2
parent16c89dcf80b742276d927b99fe28dbcde1469417
meson: fix overwritten `git` variable

We're assigning the `git` variable in three places:

  - In "meson.build" to store the external Git executable.

  - In "meson.build" to store the compiled Git executable.

  - In "Documentation/meson.build" to store the external Git executable,
    a second time.

The last case is only needed because we overwrite the original variable
with the built version. Rename the variable used for the built Git
executable so that we don't have to resolve the external Git executable
multiple times.

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