From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5896 invoked by alias); 20 Sep 2017 20:34:39 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 5872 invoked by uid 89); 20 Sep 2017 20:34:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:501 X-Spam-User: qpsmtpd, 2 recipients X-HELO: esa2.dell-outbound.iphmx.com Received: from esa2.dell-outbound.iphmx.com (HELO esa2.dell-outbound.iphmx.com) (68.232.149.220) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Sep 2017 20:34:37 +0000 Received: from esa3.dell-outbound2.iphmx.com ([68.232.154.63]) by esa2.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Sep 2017 15:34:36 -0500 To: Matthias Klose , Mikhail Terekhov , Petr Ovtchenkov , Andreas Schwab Received: from mailuogwhop.emc.com ([168.159.213.141]) by esa3.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2017 02:30:22 +0600 Received: from maildlpprd01.lss.emc.com (maildlpprd01.lss.emc.com [10.253.24.33]) by mailuogwprd01.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id v8KKYTZK016871 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 20 Sep 2017 16:34:34 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd01.lss.emc.com v8KKYTZK016871 Received: from mailsyshubprd06.lss.emc.com (mailsyshubprd06.lss.emc.com [10.253.24.24]) by maildlpprd01.lss.emc.com (RSA Interceptor); Wed, 20 Sep 2017 16:34:08 -0400 Received: from [10.243.10.38] (usenterekhovx1l.lss.emc.com [10.243.10.38]) by mailsyshubprd06.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id v8KKYGYo013212; Wed, 20 Sep 2017 16:34:16 -0400 Subject: Re: meaning of "Automatic date update in version.in" commits Cc: binutils@sourceware.org, Joel Brobecker , gdb@sourceware.org References: <20170920173622.28500ccf@void-ptr.info> <87zi9p2vma.fsf@linux-m68k.org> <20170920202354.3c863857@void-ptr.info> <7217d33d-61eb-732e-dfd6-80ef4908743e@ubuntu.com> <218bf365-1f36-3531-b42b-5b48499992ed@dell.com> <7716f103-1abd-a9fe-14e5-cbbe5a62eb01@ubuntu.com> From: Mikhail Terekhov Message-ID: <4c702af3-dd5a-881a-a051-9cf2f62245d1@dell.com> Date: Wed, 20 Sep 2017 20:34:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <7716f103-1abd-a9fe-14e5-cbbe5a62eb01@ubuntu.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-RSA-Classifications: public X-Sentrion-Hostname: mailuogwprd01.lss.emc.com X-SW-Source: 2017-09/txt/msg00066.txt.bz2 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.