summaryrefslogtreecommitdiff
path: root/lisp/km-magit.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/km-magit.el')
-rw-r--r--lisp/km-magit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el
index 14083bd..0ea2b02 100644
--- a/lisp/km-magit.el
+++ b/lisp/km-magit.el
@@ -183,7 +183,7 @@ argument CHOOSE-SUFFIX, prompt for a suffix to use instead of
(let ((current (or (magit-get-current-branch)
(user-error "No current branch"))))
(magit-run-git
- "branch"
+ "branch" "--copy"
(let* ((suffix (if choose-suffix
(magit-read-string-ns "Backup suffix")
"v"))