From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: git push hook to check for outdated timestamps |
Date: | 2015-07-14 07:44:04 |
Message-ID: | 20150714074404.GA85408@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut wrote:
> On 6/25/15 8:08 PM, Robert Haas wrote:
> > Because I don't want to have to do git log --format=fuller to see when
> > the thing was committed, basically.
>
> Then I suggest to you the following configuration settings:
>
> [format]
> pretty=cmedium
> [pretty]
> cmedium="format:%C(auto,yellow)commit %H%C(reset)%nCommit: %cn <%ce>%nCommitDate: %cd%n%n%w(80,4,4)%B"
I have been using a slightly tweaked version of this and I have found
that the %w(80,4,4)%B thingy results in mangled formatting; for
instance, commit bbfd7edae5 ends with this:
Discussion: 54B58BA3(dot)8040302(at)ohmu(dot)fi Author: Oskari Saarenmaa, with some
minor changes by me.
whereas it originally was written as
Discussion: 54B58BA3(dot)8040302(at)ohmu(dot)fi
Author: Oskari Saarenmaa, with some minor changes by me.
I find this a bad enough problem that I'll probably have to remove that.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2015-07-14 08:43:50 | pgsql: Retain comments on indexes and constraints at ALTER TABLE ... TY |
Previous Message | Michael Paquier | 2015-07-14 07:29:13 | Re: BUG #13126: table constraint loses its comment |