summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/km-git.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/init/km-git.el b/init/km-git.el
index 9ef6add..a80feed 100644
--- a/init/km-git.el
+++ b/init/km-git.el
@@ -19,15 +19,6 @@
(setq magit-restore-window-configuration t)
-;; http://whattheemacsd.com/setup-magit.el-05.html
-(defun km/magit-just-amend ()
- (interactive)
- (save-window-excursion
- (magit-with-refresh
- (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)
(setq magit-expand-staged-on-commit t)