summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2013-11-24 15:51:32 -0500
committerKyle Meyer <kyle@kyleam.com>2013-11-24 15:51:32 -0500
commit6751f85a898e90320dc7c5fc67552accb87c46dc (patch)
tree4a4d954bcee877a8af29fb1e6c54d30fcc1ac217
parent3dc1f67a9ca58bdc531aee18aad4452baaa90253 (diff)
downloademacs.d-6751f85a898e90320dc7c5fc67552accb87c46dc.tar.gz
Magit: Don't use remote in local tracking name
-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)