Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vcs): use structural path comparison to compute minimal repo roots (
#5867) * fix(git): type-safe caching for repo roots Added undefined- and null-safe checkers. `Map.has()` can return `true` if any key has an explicit `null` or `undefined` value. * fix(vcs): use structural comparison to check sub-paths Compare each path level-by-level instead of using substring-bases checks. * chore(vcs): more detailed error messages * chore: remove unused helper * chore(git): log project scan info on verbose log-level * chore(git): print project scan duration in logs * chore: named constant for cache dir name * chore: add side TODO-comment It will be addressed in a separate PR if necessary. * chore: named interface for project scan config * chore: simplified syntax * refactor(git): extract `getCli` as a standalone function * refactor(git): move helper `getModifiedFiles` outside `GitHandler` class * refactor(git): rename method `getRemoteSourceLock` -> `withRemoteSourceLock` * chore: linting
- Loading branch information
1 parent
3e7267f
commit 189bb21
Showing
10 changed files
with
149 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.