meaning of "Automatic date update in version.in" commits

Mikhail Terekhov Mikhail.Terekhov@dell.com
Wed Sep 20 20:34:00 GMT 2017



On 09/20/17 15:54, Matthias Klose wrote:
> On 20.09.2017 21:26, Mikhail Terekhov wrote:
>
>> What if build scripts obtain date of last commit automatically i.e. something
>> like this:
>>
>>      ~/tmp/gdb/binutils-gdb (master)>git log -1 --format=%cd --date=format:%Y%m%d
>>      20170920
>>
>> Then there is no need for additional commit.
> no, you can't assume that git is available for builds.
>
Then you can't be sure that the date is correct.



More information about the Binutils mailing list