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 45ca1eab83db258ad0bc89bd5f99e1059890bb6f (tree)
parent a80b965d0d47a92caffb57d020c4a43dd9dedf84
Author: Tim Pope <code@tpope.net>
Date:   Thu, 15 Aug 2019 16:52:15 -0400

Use platform slashes for :Gcd

The only current difference is backslashes on Windows, which aren't
required, but this may evolve into larger changes in the future.

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

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -2206,7 +2206,7 @@ function! s:DirArg(path) abort if path =~# '^/\|^\a\+:\|^\.\.\=\%(/\|$\)' return path else - return (empty(s:Tree()) ? s:Dir() : s:Tree()) . '/' . path + return s:PlatformSlash((empty(s:Tree()) ? s:Dir() : s:Tree()) . '/' . path) endif endfunction