Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: Why the default action for pull is merge, but not rebase?

From: Stefan Haller <hidden>
Date: 2016-06-15 22:49:55

Eric Raible [off-list ref] wrote:
On 11:59 AM, Jonathan Nieder wrote:
quoted
Maybe the "[branch "<name>"] rebase" and "[branch] autosetuprebase"
configuration items could help.
One frustrating aspect of branch.<name>.rebase is that AFAIK
there's no way for it to preserve merges.

I would much prefer if branch.<name>.rebase was allowed to
specify the arguments to be passed to rebase:

  git config branch.mybranch.rebase "-i --preserve-merges"
For me it would be good enough if there were some way of making
"pull --rebase" error out in the case that merges are involved.  I'll
then either do a pull --no-rebase, or deal with the situation in some
other way; but getting the merge "flattened" by "git pull" without being
told about it is what's frustrating to me.


-- 
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help