Browse Source
isValidPath is an older simple form of the validation performed by checkValidPath. Use the latter as it more consistently matches git-core's validation rules. By running the same validation as fsck, callers creating an entry for the DirCache are more likely to learn early they are trying to build trees that will fail fsck. Change-Id: Ibf5ac116097156aa05c18e231bc65c0854932eb1stable-3.4
Shawn Pearce
10 years ago
committed by
Matthias Sohn
3 changed files with 10 additions and 36 deletions
Loading…
Reference in new issue