chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2c5d224
)
Generate an empty commit for the newly created patches
author
Catalin Marinas
<catalin.marinas@gmail.com>
Sun, 11 Jun 2006 12:12:30 +0000
(13:12 +0100)
committer
Catalin Marinas
<catalin.marinas@gmail.com>
Sun, 11 Jun 2006 12:12:30 +0000
(13:12 +0100)
This way, 'stg show' will no longer display the previous patch.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/stack.py
patch
|
blob
|
blame
|
history
diff --git
a/stgit/stack.py
b/stgit/stack.py
index 49b50e7bf581b11a55e25c0c5f6e656b915baf7a..0217a7fbe06b6dae47992a787f5f6b6061bb35a7 100644
(file)
--- 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
"""