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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sverre Rabbelier
Date: Thursday, February 12, 2009 - 1:44 pm

On Thu, Feb 12, 2009 at 21:37, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:

Ah, I see, funky hack :).


Hmmm, afaik there are two cases in which 'git rebase' will abort with
'already up to date':
1. onto == current
2. onto == current + some extra patches

A quick demo of 1:

$ git rebase origin/master
Current branch master is up to date.
$ git rebase -f origin/master
Current branch master is up to date, rebase forced.
First, rewinding head to replay your work on top of it...
Fast-forwarded master to origin/master.


A quick demo of 2:

$ git rebase origin/master
Current branch master is up to date.
$ git rebase -f origin/master
Current branch master is up to date, rebase forced.
First, rewinding head to replay your work on top of it...
Applying: Do not attempt to render a field if it is disabled
Applying: Add ToS agreement to org_admin application related forms.
Applying: Added mentor ToS


I hope that's the case, in my manual tests everything worked as
expected, but perhaps I didn't understand your concern correctly.

-- 
Cheers,

Sverre Rabbelier
--
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:
[RFC PATCH] Teach rebase to rebase even if upstream is up ..., Sverre Rabbelier, (Thu Feb 12, 12:47 pm)
Re: [RFC PATCH] Teach rebase to rebase even if upstream is ..., Johannes Schindelin, (Thu Feb 12, 1:28 pm)
Re: [RFC PATCH] Teach rebase to rebase even if upstream is ..., Johannes Schindelin, (Thu Feb 12, 1:37 pm)
Re: [RFC PATCH] Teach rebase to rebase even if upstream is ..., Sverre Rabbelier, (Thu Feb 12, 1:44 pm)
Re: [RFC PATCH] Teach rebase to rebase even if upstream is ..., Sverre Rabbelier, (Thu Feb 12, 11:02 pm)
Re: [RFC PATCH] Teach rebase to rebase even if upstream is ..., Sverre Rabbelier, (Thu Feb 12, 11:51 pm)