Thread (5 messages) 5 messages, 2 authors, 2016-06-15

Re: [RFC PATCH] Teach rebase to rebase even if upstream is up to date with -f

flat view

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:46:09

Hi,

On Thu, 12 Feb 2009, Sverre Rabbelier wrote:
On Thu, Feb 12, 2009 at 21:28, Johannes Schindelin
[off-list ref] wrote:
quoted
FWIW I typically use 'git rebase --whitespace=fix $(git merge-base
origin/master master)' for that, but that only works when there is a
single merge base.
Hehe, shouldof known there is an easier way to do it currently. Why
does that work though?
It works because you are not rebasing onto 'master', but the merge base of 
'master' and your current branch.

So in contrast to the other situation, there are commits left to be 
rebased :-)
Also, any comments on the patch? ;)
There is probably a thinko in it: if "master" already has your patches, 
then you cannot apply them on top of "master".  That should conflict 
rather horribly, and not change the commits that are already upstream.

Or I misunderstand something here.  Quite possible, I am pretty tired.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help