Thread (7 messages) flat view 7 messages, 2 authors, 2016-06-15
DORMANTno replies

[StGit PATCH 2/4] Don't try to delete the branch twice

From: Karl Hasselström <hidden>
Date: 2016-06-15 22:43:36
Subsystem: the rest · Maintainer: Linus Torvalds

We already delete it in Stack.delete(), so don't do it here too.

Signed-off-by: Karl Hasselström <redacted>

---

 stgit/commands/branch.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/stgit/commands/branch.py b/stgit/commands/branch.py
index 8c99936..c16fc69 100644
--- a/stgit/commands/branch.py
+++ b/stgit/commands/branch.py
@@ -99,7 +99,6 @@ def __delete_branch(doomed_name, force = False):
         raise CmdException('Cannot delete the current branch')
 
     doomed.delete(force)
-    git.delete_branch(doomed_name)
 
     out.done()
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help