Index: git_common.py |
diff --git a/git_common.py b/git_common.py |
index bef628e407b16074183928040a33a0bf8bd85bcc..b7626e8a3ed4d81434443ef15e427c2cae2bf89a 100644 |
--- a/git_common.py |
+++ b/git_common.py |
@@ -437,7 +437,7 @@ def get_or_create_merge_base(branch, parent=None): |
def is_ancestor(a, b): |
return run_with_retcode('merge-base', '--is-ancestor', a, b) == 0 |
- if base: |
+ if base and base != actual_merge_base: |
if not is_ancestor(base, branch): |
logging.debug('Found WRONG pre-set merge-base for %s: %s', branch, base) |
base = None |