motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 9d36dc2d74fd3129693c0d661bb689380646d171 (tree)
parent 0db4ceb98036eef3807ed8a31a0e049523a5d8b3
Author: Tim Pope <code@tpope.net>
Date:   Thu,  8 Aug 2019 01:44:44 -0400

Check for built-ins with .exe extension on Windows

Diffstat:
Mautoload/fugitive.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -2111,6 +2111,7 @@ function! s:GitCommand(line1, line2, range, count, bang, mods, reg, arg, args) a endif let alias = get(s:Aliases(dir), args[0], '!') if alias !~# '^!\|[\"'']' && !filereadable(s:ExecPath() . '/git-' . args[0]) + \ && !(has('win32') && filereadable(s:ExecPath() . '/git-' . args[0] . '.exe')) call remove(args, 0) call extend(args, split(alias, '\s\+'), 'keep') endif