Fix create-branch.

This commit is contained in:
Phil Jackson 2010-09-02 16:20:03 +01:00
parent 21fb0a9ea3
commit 22186b0636

View file

@ -2643,9 +2643,9 @@ Fails if working tree or staging area contain uncommitted changes.
(if (and branch (not (string= branch "")) (if (and branch (not (string= branch ""))
parent) parent)
(magit-run-git "checkout" "-b" (magit-run-git "checkout" "-b"
branch
(append (append
magit-custom-options magit-custom-options
branch
(magit-rev-to-git parent))))) (magit-rev-to-git parent)))))
(defun magit-delete-branch (branch) (defun magit-delete-branch (branch)