aboutsummaryrefslogtreecommitdiffstats
path: root/oni-magit.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-03-03 12:12:39 -0800
committerGravatar Tom Willemse2019-03-03 12:12:39 -0800
commit997fa266b904d5040169dc980a280b6611a11bed (patch)
tree056ad90b8eeb28ab6d82614e713958edef0e45f4 /oni-magit.el
parentc4a48a3548831c4e9c3e83d5ed26b4039668f654 (diff)
downloademacs-config-997fa266b904d5040169dc980a280b6611a11bed.tar.gz
emacs-config-997fa266b904d5040169dc980a280b6611a11bed.zip
Add Windows-specific settings to oni-magit
Diffstat (limited to 'oni-magit.el')
-rw-r--r--oni-magit.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/oni-magit.el b/oni-magit.el
index 4e807f9..b816ad7 100644
--- a/oni-magit.el
+++ b/oni-magit.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190222001016
+;; Version: 20190303121019
;; Package-Requires: (magit magit-popup magithub hydra)
;; This program is free software; you can redistribute it and/or modify
@@ -52,6 +52,9 @@ Delete all other windows and then pass BUFFER and ALIST on to
'display-buffer-alist
`(,oni:magit-status-rx oni-magit-display-buffer-in-only-window))
+(when (eq system-type 'windows-nt)
+ (setq magit-git-executable "c:/msys64/usr/bin/git.exe"))
+
;;;###autoload
(global-set-key (kbd "C-c v") 'oni-hydra-magit/body)