Re: StGIT discards local commits on "stg pull"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yann Dirson
Date: Tuesday, February 20, 2007 - 11:55 am

On Tue, Feb 20, 2007 at 01:00:59AM +0100, Yann Dirson wrote:

Thinking twice, we could make things even better :)

Let's acknowledge that we have several ways of pulling, by getting rid
of the awkward 'stgit.pull-does-rebase'.  Instead we could use a new
"pull-policy" setting, with possible values "pull" and "fetch-rebase"
to match the 2 currently-available behaviours.  Then according to the
pull-policy, "stg pull" would use "pullcmd" or a new "fetchcmd"
setting, thus removing the requirement to mess with pullcmd in the
common case.

All of "pull-policy", "pullcmd", and "fetchcmd" would have a
per-branch and a global setting (stgit.<foo> and
branch.*.stgit.<foo>).

We could also introduce a 3rd "rebase" policy, to support local parent
branches better.

Best regards,
-- 
Yann.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
StGIT discards local commits on &quot;stg pull&quot;, Pavel Roskin, (Mon Feb 12, 12:26 am)
Re: StGIT discards local commits on &quot;stg pull&quot;, Catalin Marinas, (Mon Feb 12, 2:31 am)
Re: StGIT discards local commits on &quot;stg pull&quot;, Catalin Marinas, (Tue Feb 13, 3:48 pm)
Re: StGIT discards local commits on &quot;stg pull&quot;, Catalin Marinas, (Mon Feb 19, 4:07 pm)
Re: StGIT discards local commits on "stg pull", Yann Dirson, (Tue Feb 20, 11:55 am)