aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-vc.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init/ycp-vc.el')
-rw-r--r--emacs/.emacs.d/init/ycp-vc.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-vc.el b/emacs/.emacs.d/init/ycp-vc.el
index 8a3fed5..16261b6 100644
--- a/emacs/.emacs.d/init/ycp-vc.el
+++ b/emacs/.emacs.d/init/ycp-vc.el
@@ -123,6 +123,9 @@
(require 'magit-ediff)
(add-hook 'magit-ediff-quit-hook 'delete-frame)
+
+ (require 'magit-branch)
+ (advice-add 'magit-checkout :filter-args #'my-magit-ignore-other-worktrees)
)
(my-package my-magit