From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104337 invoked by alias); 8 Jan 2016 19:07:01 -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 104317 invoked by uid 89); 8 Jan 2016 19:07:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=carrying, tie, sha X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 08 Jan 2016 19:06:59 +0000 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id A5C92340A5C; Fri, 8 Jan 2016 19:06:57 +0000 (UTC) Date: Fri, 08 Jan 2016 19:07:00 -0000 From: Mike Frysinger To: Kieran Bingham Cc: Joel Brobecker , gdb@sourceware.org Subject: including git commit in version Message-ID: <20160108190657.GK25548@vapier.lan> Mail-Followup-To: Kieran Bingham , Joel Brobecker , gdb@sourceware.org References: <20160105010204.GI25548@vapier.lan> <20160105095232.GE4385@adacore.com> <20160105202959.GN25548@vapier.lan> <20160106024615.GA7024@adacore.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="u4YTXYx8N/vaYnQM" Content-Disposition: inline In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00005.txt.bz2 --u4YTXYx8N/vaYnQM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-length: 777 On 08 Jan 2016 12:02, Kieran Bingham wrote: > I'm currently carrying around a local patch on my development branches to > add the SHA hash to the version. > Would this be of use to propose to gdb-patches? i had that in the back of my mind. i'd be ok with this sort of thing. > It's much more useful to be able to tie into an explicit commit reference > than just a date. since the date is updated by a script, that can be tied to a commit in a close range, so it's not that bad. it's not like the datestamp is coming from `date` itself. > Produces: > > armv7-linux-gdb -v > > GNU gdb (GDB) 7.10.1.20151205-git-gdb-7.10.1-release-2-g3e96ddbffb05 i think this is only when you're on a branch ? master doesn't include all that. it is verbose, but i'm fine with it. -mike --u4YTXYx8N/vaYnQM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWkAjRAAoJEEFjO5/oN/WBRmMQALHrxyNACdZExALDDXebHQLK AOaSijiZrM4IEPVLLxoXLUSt6k6ofXg3xQLoRVrKv8ZBS46eT2IvAWZNreueReOj ZjdBXhPqVukYnNlYghT6wnyOFcPqTLcRJ76Qg3CgUcVfKEAaNpjJBcujVHAidPMV mV8JPtNw8fU6gG65GyR3McEMQzGcaYPTsozJrb6OLBZTY0nD10TY5oxDPzR1htVI fy8sxsyVsd0CS+vNR7J9Rm3eDi+CQ/o/srfu7Z08gfFqSFWasIMQjbwKLikXnWeO OssAYubEh7fJYMTjbRjKvvO/PfEqq+jfjDOrKaw1ZMkGDXaBseLenoM7UOrXJV0q eqxvD1U8PGmYGYhN7YBX2u0HxNf0UX3xGi+MTjIN5G4P64jXrPdecJSCxKYbF/t/ KgahbikxYQppTh830BjoYSSErJIT9xiF4hnig/PqwWKIjIqKRrUGdWrQkzfpr4a4 s8Wg/nzg7evnR3HPZLi5OHZuVKVihILj+os8DSQa7meHdITOL+tMTZEELTjSIlRs KbZ9YIzQLPaBTX61NnnPgAI9D6c0HZlDrMgcjLTqUQ4YHI00k5uwqx1IeJ05RV6r Sbx7XZ88Q0rlIiAwYwLin/0j/SuvzOSt35Y4sUqN3a0hRvfzv8w2NtkbhSbfg6Tv t9NOGH86SIouqueB9xBz =978y -----END PGP SIGNATURE----- --u4YTXYx8N/vaYnQM--