Re: branching for 9.2devel

Поиск
Список
Период
Сортировка
От David Blewett
Тема Re: branching for 9.2devel
Дата
Msg-id BANLkTimpHagRHtGG8PMqVG-rEXYg4apV7w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: branching for 9.2devel  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Wed, May 4, 2011 at 1:21 PM, Josh Berkus <josh@agliodbs.com> wrote:
>
>>> You can't indent patches, only patched files. And that's the problem
>>> with this happy scheme. For it to work at all sanely we'd need to keep
>>> the committed code that the patch is to be applied against strictly
>>> pgindent clean, presumably via some automated process such as a commit
>>> hook. That's been suggested in the past, but hasn't met with universal
>>> approval, IIRC.
>
> Well, there is another solution to this, which is to use Git branches
> and forks instead of mailing around patches.

Shouldn't it be as simple as keeping a git clone of trunk up to date,
applying the patch, running pgindent and emitting the resulting diff?
Once it's been generated, just run git reset --hard to clean out all
local changes.
-- 
Thanks,

David Blewett


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: branching for 9.2devel
Следующее
От: Tom Lane
Дата:
Сообщение: Re: VARIANT / ANYTYPE datatype