summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-git.el
blob: 27a409f9486c46e24c4512213c648ba2381160a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(require 'fcuny-defuns)

(use-package gitconfig-mode
  :ensure t
  :defer 5)

(use-package magit
  :ensure t
  :after (flyspell)
  :hook ((magit-mode . hl-line-mode))
  :bind (("C-x g s" . magit-status))
  :config
  (setq git-commit-summary-max-length 50)
  (setq fill-column 72)
  (when (fcuny/check-work-machine-p)
    (setq magit-git-executable "/opt/twitter_mde/bin/git")))

(provide 'fcuny-git)