Of course it’s git. I use gut to test the case git is not installed.

 

From: Tinycc-devel [mailto:[email protected]] On 
Behalf Of Dmitry Selyutin
Sent: Wednesday, March 31, 2021 17:44
To: [email protected]; [email protected]
Subject: Re: [Tinycc-devel] I want to add more info with -v option

 

Hi Jullien,

 

I think this is a really good idea. I'd also consider git hash, not a date, but 
this is likely a minor.

 

> +TCC_GIT_DATE=$(shell which gut > /dev/null 2>&1 && git log -1 --format=%ad 
> --date=local || echo no)

 

Did you mean "git" here, not "gut"?

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to