From 997fa266b904d5040169dc980a280b6611a11bed Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 3 Mar 2019 12:12:39 -0800 Subject: Add Windows-specific settings to oni-magit --- oni-magit.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'oni-magit.el') 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 ;; 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) -- cgit v1.2.3-54-g00ecf