From 3a284728a544e34d9db139c3ac589c36275c2416 Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Sun, 11 Jun 2006 13:12:30 +0100 Subject: [PATCH] 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 --- stgit/stack.py | 2 ++ 1 file changed, 2 insertions(+) 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 """ -- 2.11.0