Re: Multi-branch committing in git, revisited

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Multi-branch committing in git, revisited
Дата
Msg-id 3B8485A8-4CDE-476F-BFB5-535FFE131A7E@kineticode.com
обсуждение исходный текст
Ответ на Multi-branch committing in git, revisited  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Multi-branch committing in git, revisited  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Sep 21, 2010, at 6:20 PM, Tom Lane wrote:

> While this isn't much worse than what I was used to with CVS, it's
> definitely not better.  I think that I could simplify transferring the
> patch back to older branches if I could use git cherry-pick.  However,
> that only works on already-committed patches.  If I commit in master
> before I start working on 9.0, and so on back, then the commits will be
> separated in time by a significant amount, thus destroying any chance of
> having git_topo_order recognize them as related.  So we're back up
> against the problem of git not really understanding the relationships of
> patches in different branches.

You could commit in each one as you go, cherry-pick, and then in each one
   git reset --soft HEAD^

Then they'd all be patched and staged.

Best,

David



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Multi-branch committing in git, revisited
Следующее
От: Hitoshi Harada
Дата:
Сообщение: Re: wip: functions median and percentile