diff --git a/magit.el b/magit.el index 293d2084..186772f5 100644 --- a/magit.el +++ b/magit.el @@ -2643,9 +2643,9 @@ Fails if working tree or staging area contain uncommitted changes. (if (and branch (not (string= branch "")) parent) (magit-run-git "checkout" "-b" + branch (append magit-custom-options - branch (magit-rev-to-git parent))))) (defun magit-delete-branch (branch)