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 b9ea3efdf858d8ba970fe3cdd03e46803aeaa354 (tree)
parent b1a993964b367db4b9399e3e672e82d5bb40d0e3
Author: Tim Pope <code@tpope.net>
Date:   Sat,  5 Jan 2019 01:56:46 -0500

Fix navigation maps like ~ in commit

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

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -623,7 +623,7 @@ function! fugitive#Path(url, ...) abort let file = '/.git'.url[strlen(dir) : -1] elseif len(tree) && s:cpath(url[0 : len(tree)]) ==# s:cpath(tree . '/') let file = url[len(tree) : -1] - elseif s:cpath(url) ==# s:cpath(tree) || len(argdir) && empty(file) + elseif s:cpath(url) ==# s:cpath(tree) let file = '/' endif if empty(file) && a:1 =~# '^$\|^[.:]/$'