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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Karl Hasselström <kha@xxxxxxxxxxx>

---

 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()
 

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux