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

Mikhail Terekhov
2017-09-20T20:34:39Z

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.