summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/km-git.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/km-git.el b/init/km-git.el
index 0700e67..b3ca62b 100644
--- a/init/km-git.el
+++ b/init/km-git.el
@@ -29,3 +29,5 @@
(shell-command "git --no-pager commit --amend --reuse-message=HEAD"))))
(define-key magit-status-mode-map (kbd "C-c C-a") 'km/magit-just-amend)
+
+(setq magit-default-tracking-name-function 'magit-default-tracking-name-branch-only)