Because things like chmod support are filesystem specific and libgit2 may be used on one machine with multiple mounted filesystems, it is not safe to cache this result and it should be recalculated for each initialized repository.