]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui: replace GIT-GUI-VARS with GIT-GUI-BUILD-OPTIONS
authorPatrick Steinhardt <ps@pks.im>
Mon, 12 May 2025 09:25:05 +0000 (11:25 +0200)
committerPatrick Steinhardt <ps@pks.im>
Tue, 13 May 2025 06:27:09 +0000 (08:27 +0200)
commit3271d2e9e71678cdc22378b1fd58c07641f8c424
treee1224be10143829e3c2a683df121c402825199b2
parent309bb874dcba2c96f8b12d20bed16cf6a1ea0133
git-gui: replace GIT-GUI-VARS with GIT-GUI-BUILD-OPTIONS

The GIT-GUI-VARS file is used to track whether any of our build options
has changed. Unfortunately, the format of that file does not allow us to
propagate those build options to other scripts. But as we are about to
introduce support for the Meson build system, we will extract a couple
of scripts to deduplicate core build logic across Makefiles and Meson.
With this refactoring, it will become necessary to make build options
more widely accessible.

Replace GIT-GUI-VARS with a new GIT-GUI-BUILD-OPTIONS file that is being
populated from a template. This file can easily be sourced from build
scripts in subsequent steps.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
.gitignore
GIT-GUI-BUILD-OPTIONS.in [new file with mode: 0644]
Makefile