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)