]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui: make output of GIT-VERSION-GEN source'able
authorPatrick Steinhardt <ps@pks.im>
Mon, 12 May 2025 09:27:37 +0000 (11:27 +0200)
committerPatrick Steinhardt <ps@pks.im>
Tue, 13 May 2025 06:27:11 +0000 (08:27 +0200)
commitcaf5fbe9af77488175b5baf2404b1bb6d4d78653
treefdecdab5e8131a9d49cd2b5852ab55154aa08f20
parent3ef470fa5127b9858d203990211f4375d38d5dd6
git-gui: make output of GIT-VERSION-GEN source'able

The output of GIT-VERSION-GEN can be sourced by our Makefile to make the
version available there. The output has a couple of spaces around the
equals sign, which is perfectly valid for parsing it in our Makefile.
But in subsequent steps we'll also want to source the file in a couple
of newly-introduced shell scripts, but having spaces around variable
assignments is invalid there.

Prepare for this step by dropping the spaces surrounding the equals
sign. Like this, we can easily use the same file both in our Makefile
and in shell scripts.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
GIT-VERSION-GEN