Skip to content
Snippets Groups Projects
Commit 7003b82e authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Version control: Improve detection.

Merge managesDirectory() and findTopLevelForDirectory()
into one giving managesDirectory() an optional topLevel
parameter. This removes the need to go up the directory
hierarchy twice when checking for Merurial or git and also
saves some checks for CVS/Subversion.
VCSManager: Check cache in reverse order starting out with
the full path first to improve handling of nested repositories.
Rubber-stamped-by: con
Acked-by: dt
parent 58a5da63
No related branches found
No related tags found
No related merge requests found
Showing
with 158 additions and 158 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment