This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Wed, 2017-09-20 at 21:54 +0200, Matthias Klose wrote:

> > 
> >     ~/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.
In valgrind, the version.h file is build as part of the dist tarball.
And if really someone just takes a copy of the sources before 
building and/or making the dist tarball, valgrind --version -v
will just tell that the git version and date is unknown.

Philippe


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]