chiark / gitweb /
Fix push --undo to remove the local changes
[stgit] / stgit / stack.py
index 46d6ee5fc7ba3b1df835f53934354c7777c42366..1e68b9906b41eb2f52cc2037e9e4f9be49246833 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()