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 80e410c81a8d5348749c8a5c16bf8a740853419b (tree)
parent 84fcfae7f019f41f95b3ea885033346e6e66cbc3
Author: Tim Pope <code@tpope.net>
Date:   Thu,  2 Aug 2018 15:16:29 -0400

Fix :Gedit default from commit to work tree

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

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -498,7 +498,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) + elseif s:cpath(url) ==# s:cpath(tree) || len(argdir) && empty(file) let file = '/' endif if empty(file) && a:1 =~# '^\%([.:]\=/\)\=$'