From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4745 invoked by alias); 8 Sep 2014 09:50:45 -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 4734 invoked by uid 89); 8 Sep 2014 09:50:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 08 Sep 2014 09:50:42 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s889oVA3018964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 Sep 2014 05:50:32 -0400 Received: from blade.nx (ovpn-116-108.ams2.redhat.com [10.36.116.108]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s889oV0c023501; Mon, 8 Sep 2014 05:50:31 -0400 Received: by blade.nx (Postfix, from userid 1000) id 2909C2640D8; Mon, 8 Sep 2014 10:50:30 +0100 (BST) Date: Mon, 08 Sep 2014 09:50:00 -0000 From: Gary Benson To: Doug Evans Cc: Sergio Durigan Junior , Andreas Schwab , Joel Brobecker , gdb , Andreas Arnez Subject: Re: ChangeLogs in commit messages Message-ID: <20140908095029.GA24266@blade.nx> References: <20140814125224.GF4924@adacore.com> <8761h4fmu4.fsf@redhat.com> <87mwage6x2.fsf@redhat.com> <871trsuz55.fsf@igel.home> <20140904090616.GA23758@blade.nx> <87y4tzcvny.fsf@redhat.com> <20140904173624.GA10113@blade.nx> <20140905101324.GA3731@blade.nx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00022.txt.bz2 Doug Evans wrote: > On Fri, Sep 5, 2014 at 3:13 AM, Gary Benson wrote: > > Gary Benson wrote: > > > Doug Evans wrote: > > > > If I do a git blame of server.c I see patch 860789c7 with a > > > > date of 2014-08-08. That's three weeks before it was pushed > > > > upstream. Bleah. I'd really like to be able to do a git > > > > blame and have what I see be useful, including the date. The > > > > author date is basically useless to me. > > > > > > I see some options to git-rebase, --committer-date-is-author-date > > > and --ignore-date. I'll experiment with these the next time I > > > rebase something and see what happens. > > > > Running "git rebase --ignore-date gdb/master" immediately prior to > > pushing sets both author and commit dates to the present time on > > all commits you are about to push. > > Cool. Can you add that to the contribution checklist? https://sourceware.org/gdb/wiki/ContributionChecklist#Fixing_commit_dates If we add a server-side hook to check that the ChangeLog messages in the commit messages are correct we could also use that hook to check that the dates in commits match the dates in the ChangeLog files. Cheers, Gary -- http://gbenson.net/