mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 21:03:53 -05:00
This implements the changes suggested in tpope/fugitive#415. s:repo_configured_tree is now a global, s:configured_tree() that caches the bidirectional relation between the worktree and the git_dir. extract_git_dir() now uses that relation to check whether the directories it scans are valid worktrees known by the repo at $GIT_DIR.