Never skip rebase
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 2 May 2009 07:42:31 +0000 (09:42 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 5 Oct 2009 09:46:34 +0000 (10:46 +0100)
This is important if we have a custom rebase command (like "git svn
rebase").

Signed-off-by: Jakob Stoklund Olesen <stoklund@2pi.dk>
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/common.py

index 0922b5d..ac53654 100644 (file)
@@ -301,9 +301,6 @@ def rebase(crt_series, target):
         # it might be that we use a custom rebase command with its own
         # target type
         tree_id = target
-    if tree_id == git.get_head():
-        out.info('Already at "%s", no need for rebasing.' % target)
-        return
     if target:
         out.start('Rebasing to "%s"' % target)
     else: