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 8165eada59fb78502ba5dd0f3b3fd01285db834f (tree)
parent eac5ffd35b2b9fda55161510eecb047105f6e3d6
Author: Tim Pope <code@tpope.net>
Date:   Thu, 23 Jun 2022 17:54:30 -0400

Fix Projectionist root for .git/info/projections.json

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

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -527,7 +527,7 @@ endif function! s:ProjectionistDetect() abort let file = s:Slash(get(g:, 'projectionist_file', '')) let dir = FugitiveExtractGitDir(file) - let base = get(matchlist(file, s:dir_commit_file), 1, '') + let base = matchstr(file, '^fugitive://.\{-\}//\x\+') if empty(base) let base = s:Tree(dir) endif