Keep track of safe base changes.
[stgit] / stgit / commands / common.py
index c2c99e2..2ef8454 100644 (file)
@@ -367,6 +367,8 @@ def rebase(target):
     git.reset(tree_id = git_id(target))
 
 def post_rebase(applied, nopush, merged):
+    # memorize that we rebased to here
+    crt_series._set_field('orig-base', git.get_head())
     # push the patches back
     if not nopush:
         push_patches(applied, merged)