[StGit PATCH 2/4] Don't try to delete the branch twice
We already delete it in Stack.delete(), so don't do it here too.
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
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()