Re: [OT] there is a way to extract a previously applied patch?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Subject: Re: [OT] there is a way to extract a previously applied patch?
Date: 2009-01-28 06:22:25
Message-ID: 200901280822.25802.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday 28 January 2009 07:05:17 Robert Haas wrote:
> Easy to do with git.
>
> $ git log
>
> Use "/Allow AS" to find the commit. Oh, there it is.
>
> $ git log -1 -p 4f08d8492598a518f803d8c2979b39f0050b0f8d > allow-as.patch
>
> Attached for your convenience. :-)

More compactly, git show $HASH also works. TIMTOWTDI, apparently.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-01-28 06:24:04 Re: Commitfest infrastructure (was Re: 8.4 release =?iso-8859-1?q?=09planning?=)
Previous Message Andrew Dunstan 2009-01-28 05:19:54 Re: [OT] there is a way to extract a previously applied patch?