Skip to content

always use root-relative names in Git entries

Administrator requested to merge simplify-tree-entry-resolver into master

Created by: sqs

os.FileInfos representing Git objects now always return the full path relative to the repository root in the Name method. Previously the behavior depended on several complex factors, such as whether the entry was the root, whether the ReadDir traversal was recursive, etc.

This also lets us remove a field in gitTreeEntryResolver.

(Separated out from #5465, can be merged separately.)

Merge request reports

Loading