confirmed

This commit is contained in:
Joey Hess 2023-06-26 11:51:48 -04:00
parent 2d8174d1ef
commit 55fef4fb81
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -17,3 +17,5 @@ Furthermore, Datalad [relies on `.gitattributes` configuration](https://git-anne
Couldn't the [separate-git-tree-for-diffing-technique you used lately to speed up repeated imports](https://git-annex.branchable.com/devblog/day_649-650__speeding_up_repeated_imports/) be used to cache `.gitattributes` for all (or relevant) files in a git tree (e.g. have the same paths in that tree but file contents are the attributes), querying the attributes is a matter of quering this tree and updating them just requires re-querying the touched paths.
One problem I see with this tough is that it wouldn't be possible to cache the user's `.git/info/attributes` settings, which can change independently.
[[!tag confirmed]]