Fix push --undo to remove the local changes
[stgit] / stgit / stack.py
index 46d6ee5..1e68b99 100644 (file)
@@ -496,6 +496,7 @@ class Series:
         assert(name)
 
         patch = Patch(name, self.__patch_dir)
+        git.reset()
         self.pop_patch(name)
         patch.restore_old_boundaries()