From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32100 invoked by alias); 9 Sep 2014 16:25:20 -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 32090 invoked by uid 89); 9 Sep 2014 16:25:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f173.google.com Received: from mail-vc0-f173.google.com (HELO mail-vc0-f173.google.com) (209.85.220.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 09 Sep 2014 16:25:18 +0000 Received: by mail-vc0-f173.google.com with SMTP id le20so3172982vcb.4 for ; Tue, 09 Sep 2014 09:25:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=bnXZf6i2nbsoWS4oHg9ClnnZ3Hw6PYZOZntRu+OsaYY=; b=ATALAhwszOzNq1hi+L3tLUr7nZumzuE+/lw3SbP3+Gnpbe1uQospp4IzV+2GGHz+eh Jdur+0MNwwzEkXrr66OAKylKNA4i7GLs4aNcK7D9cyVD+Vlg9yujPyt2SHcf4a7ybgrP aUOsqqqdd/3kqLpa9z+ttfQzBv/6TRhucTh97jVtlOADgvMJDGU/Ux9SfSeT8i25wwlQ XF1eR4OvXV1PcvzjPoGJ0U35TpCvSzyuOpje1caqaSZIegiTA/xMpuvfJy9zJFmPRwsi K+X+05vm0R6xVWoNlus4cZA7oVFzyiPFSZeRqMeHgtQPXi0Gj0A1ZIObWmigL/4MIS8N 6qgA== X-Gm-Message-State: ALoCoQkZdNxCY7scBaX0nJIe4YiekQKCwVZaUcOkiRX9WpO93AJzNFR2LNma7rnVH0/0Tuv6NUc6 MIME-Version: 1.0 X-Received: by 10.52.248.211 with SMTP id yo19mr1711923vdc.67.1410279916370; Tue, 09 Sep 2014 09:25:16 -0700 (PDT) Received: by 10.52.136.203 with HTTP; Tue, 9 Sep 2014 09:25:16 -0700 (PDT) In-Reply-To: <540EBF74.6040908@imgtec.com> 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> <540EBF74.6040908@imgtec.com> Date: Tue, 09 Sep 2014 16:25:00 -0000 Message-ID: Subject: Re: ChangeLogs in commit messages From: Doug Evans To: James Hogan Cc: Joel Brobecker , Gary Benson , Sergio Durigan Junior , Andreas Schwab , gdb , Andreas Arnez Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00031.txt.bz2 On Tue, Sep 9, 2014 at 1:51 AM, James Hogan wrote: > 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. Authors come and go, and, for me as an author, after six months I would certainly prefer to see in the upstream tree a date as close as possible to when the patch was pushed upstream. [plus the needs of the many outweigh the needs of the few ... 1/2 :-)] > [...] It'd be nice if > something similar was possible with git-blame. Indeed! > 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. Interesting, thanks!