diff options
-rw-r--r-- | lisp/init-git.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el index 0ae7034..99daf30 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -112,6 +112,11 @@ START-POINT set to the current branch. (magit-define-popup-action 'magit-branch-popup ?m "Checkout master" 'km/magit-checkout-master) + (defadvice magit-merge-editmsg (around km/magit-merge-editmsg-no-ff activate) + "Set '--no-ff' flag when running `magit-merge-editmsg'." + (let ((args '("--no-ff"))) + ad-do-it)) + (setq magit-branch-arguments (delete "--track" magit-branch-arguments))) |