This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Can the automatic daily update commits be stopped?
- From: Will Newton <will dot newton at linaro dot org>
- To: David Howells <dhowells at redhat dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Joel Brobecker <brobecker at adacore dot com>, Andreas Schwab <schwab at linux-m68k dot org>, Fred Cooke <fred dot cooke at gmail dot com>, binutils <binutils at sourceware dot org>, nick clifton <nickc at redhat dot com>
- Date: Tue, 6 Jan 2015 16:13:58 +0000
- Subject: Re: Can the automatic daily update commits be stopped?
- Authentication-results: sourceware.org; auth=none
- References: <20428 dot 1420542531 at warthog dot procyon dot org dot uk> <CABZhLO-HSOL2HHPr3Dd36W1GESDn-Dn0attv4DPQTS61BtmQcg at mail dot gmail dot com> <20150106113941 dot GW5177 at adacore dot com> <87iogkt5u1 dot fsf at igel dot home> <20150106133914 dot GY5177 at adacore dot com> <87y4pgrlp8 dot fsf at igel dot home> <20150106151321 dot GZ5177 at adacore dot com> <CAMe9rOpWH9VxFONzL6RfwKQpez99WL4eVZpKppBqR-pJG6Pc7g at mail dot gmail dot com> <7985 dot 1420559656 at warthog dot procyon dot org dot uk>
On 6 January 2015 at 15:54, David Howells <dhowells@redhat.com> wrote:
> H.J. Lu <hjl.tools@gmail.com> wrote:
>
>> Try this in binutils-gdb tree:
>>
>> # echo "$(git remote -v | grep fetch | awk '{ print $2}') on $(git
>> name-rev --name-only HEAD) commit $(git log -1 --pretty=%H)"
>
> I suspect that what Andreas is getting at is that you can't compare SHA1 sums
> to gain any information on the relative age of two commits.
I guess the situation is you have no access to git (and is unlikely as
you probably have a clone somewhere as a developer) and you have two
tarballs and wish to determine which is more recent? You can resort to
reading changelogs at that point. Is there an actual situation where
this information is actually needed?
It seems a bit like the argument of monotonic version numbers versus
SHA hashes in the early days of DVCS and it turns out we didn't really
need monotonic version numbers, we were just used to having them.
--
Will Newton
Toolchain Working Group, Linaro