From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30089 invoked by alias); 9 Sep 2014 08:51:06 -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 30077 invoked by uid 89); 9 Sep 2014 08:51:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 09 Sep 2014 08:51:04 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id A195D96945F3F; Tue, 9 Sep 2014 09:50:58 +0100 (IST) Received: from KLMAIL02.kl.imgtec.org (10.40.60.222) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 9 Sep 2014 09:51:00 +0100 Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by klmail02.kl.imgtec.org (10.40.60.222) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 9 Sep 2014 09:51:00 +0100 Received: from [192.168.154.101] (192.168.154.101) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 9 Sep 2014 09:51:00 +0100 Message-ID: <540EBF74.6040908@imgtec.com> Date: Tue, 09 Sep 2014 08:51:00 -0000 From: James Hogan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Joel Brobecker CC: Gary Benson , Doug Evans , "Sergio Durigan Junior" , Andreas Schwab , gdb , Andreas Arnez Subject: Re: ChangeLogs in commit messages References: <87mwage6x2.fsf@redhat.com> <871trsuz55.fsf@igel.home> <20140904090616.GA23758@blade.nx> <87y4tzcvny.fsf@redhat.com> <20140904173624.GA10113@blade.nx> <20140905101324.GA3731@blade.nx> <20140908095029.GA24266@blade.nx> <540DAA52.2000103@imgtec.com> <20140908132414.GK13931@adacore.com> In-Reply-To: <20140908132414.GK13931@adacore.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00028.txt.bz2 On 08/09/14 14:24, Joel Brobecker wrote: >> IMHO this is a really bad idea. > > I wouldn't say "a really bad", but I tend to agree with the reasoning. > It's a bit unnatural to me that git would chose to show the author > date by default over the commit date >From the patch author point of view, cleaning up a patchset by interactive rebasing, or rebasing to keep their branch up to date, I think the author date probably is more natural, and in less linear histories (look at Linux repo for example) I suspect the commit date wouldn't be as meaningful. FWIW though you can put: [format] pretty=fuller in your ~/.gitconfig to default to the fuller format for git-show and git-log, which shows the committer and commit date. It'd be nice if something similar was possible with git-blame. You can add new pretty formats too, e.g. [pretty] fullcommit = "commit %H\nAuthor: %an <%ae>\nCommitDate: %cd\n\n%B" [format] pretty=fullcommit This shows author name, but commit date, but I didn't figure out how to indent the body like pretty=fuller does. Cheers James