Generate an empty commit for the newly created patches
[stgit] / stgit / stack.py
index 49b50e7..0217a7f 100644 (file)
@@ -712,6 +712,8 @@ class Series:
                 append_string(self.__applied_file, patch.get_name())
                 self.__set_current(name)
 
+                self.refresh_patch(cache_update = False)
+
     def delete_patch(self, name):
         """Deletes a patch
         """