Implement a new .git/index (aka dircache) read interface