Re: [PATCH] pull: Allow pull to preserve merges when rebasing.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 9, 2013, 14:19 UTC
- Message-ID
- <alpine.DEB.1.00.1308091618530.24252@s15462909.onlinehome-server.info>
- In-Reply-To
- <7vd2pn977v.fsf@alter.siamese.dyndns.org>
Hi,
On Thu, 8 Aug 2013, Junio C Hamano wrote:
Show 34 quoted lines
> Stephen Haberman <stephen@exigencecorp.com> writes: > > > Hi Johannes, > > > >> This should probably be added to config.txt and > >> Documentation/git-pull.txt, too, right? > > > > Yep, I meant to note that I'd do that after getting an initial > > confirmation that the pull.preserve-merges was the preferred approach. > > If you were to go that route, no dashes in the last component of > configuration variable names, please. > > > (I was being lazy and didn't want to write up docs only to switch to > > overloading pull.rebase or what not.) > > I think we have a recent update that allows you to say > > [pull] > rebase = false > > to mean "I want 'git pull' to use merge". Currently the other > choice is: > > [pull] > rebase = true > > to say "I want to run 'git pull --rebase'". I do not think it is > unreasonable to extend it further so that > > [pull] > rebase = preserve > > is understood.
We have a patch in Git for Windows allowing rebase = interactive which I did not have time to send upstream.
Ciao, Johannes