mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-12-07 04:34:35 +08: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.