From: Catalin Marinas Date: Sun, 11 Jun 2006 12:12:30 +0000 (+0100) Subject: Generate an empty commit for the newly created patches X-Git-Tag: v0.14.3~481 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/3a284728a544e34d9db139c3ac589c36275c2416 Generate an empty commit for the newly created patches This way, 'stg show' will no longer display the previous patch. Signed-off-by: Catalin Marinas --- diff --git a/stgit/stack.py b/stgit/stack.py index 49b50e7..0217a7f 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -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 """