Re: [OT] there is a way to extract a previously applied patch? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [OT] there is a way to extract a previously applied patch?
Date
Msg-id 200901280822.25802.peter_e@gmx.net
Whole thread Raw
In response to Re: [OT] there is a way to extract a previously applied patch?  (Robert Haas <robertmhaas@gmail.com>)
List 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.


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [OT] there is a way to extract a previously applied patch?
Next
From: Peter Eisentraut
Date:
Subject: Re: Commitfest infrastructure (was Re: 8.4 release planning)