diff options
author | Kyle Meyer <kyle@kyleam.com> | 2019-02-16 00:00:51 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2019-02-16 00:00:51 -0500 |
commit | 84bec74de2d5a0303c984add16072fbc2e21da76 (patch) | |
tree | 11c6fdd5ef358ed5d0ad51ba368e1af00820f3a9 /lisp | |
parent | ab6299a6be26ba8320a225d94d141e845e5ecc0a (diff) | |
download | emacs.d-84bec74de2d5a0303c984add16072fbc2e21da76.tar.gz |
km/magit-branch-backup-current: Use "--copy"
... so that the reflog is copied as well.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/km-magit.el | 2 |
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")) |