Skip to content
Snippets Groups Projects
Commit d3b98d98 authored by John Whitley's avatar John Whitley Committed by Tim Pope
Browse files

Make configured_tree a caching global function

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.
parent 5699f461
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment