Hi Eric,
On Tue, 2 May 2017, Delanoe Eric wrote:
> Could this kind of "keyword expansion" feature be added into GIT ?
Back in the days, it was decided that this should be part of the "export
as zip" functionality, see the `export-subst` feature in git-archive's and
gitattributes' documentation.
In reality, what most projects do is to generate a header or some such as
part of their build process. Git itself may serve as a case in point:
https://github.com/git/git/blob/master/GIT-VERSION-GEN
used in
https://github.com/git/git/blob/v2.12.2/Makefile#L390-L392
Ciao,
Johannes