summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-git.el
blob: 68a5ecf17a6d47502f9729491a67ed117f0590ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(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))
  :custom
  (git-commit-summary-max-length 50)
  (fill-column 72)
  (magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)
  :config
  (when (fcuny/check-work-machine-p)
    (setq magit-git-executable "/opt/twitter_mde/bin/git")))

(provide 'fcuny-git)