<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/version-def.h.in, branch jch</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=jch</id>
<link rel='self' href='https://git.shady.money/git/atom?h=jch'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-12-06T22:52:08Z</updated>
<entry>
<title>Makefile: propagate Git version via generated header</title>
<updated>2024-12-06T22:52:08Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2024-12-06T13:24:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0c8d33951400f7d7175e1dad51e970fb70849f2b'/>
<id>urn:sha1:0c8d33951400f7d7175e1dad51e970fb70849f2b</id>
<content type='text'>
We set up a couple of preprocessor macros when compiling Git that
propagate the version that Git was built from to `git version` et al.
The way this is set up makes it harder than necessary to reuse the
infrastructure across the different build systems.

Refactor this such that we generate a "version-def.h" header via
`GIT-VERSION-GEN` instead.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
