t / t4101 / diff.1-0on commit diff-tree: read the index so attribute checks work in bare repositories (fd66bcc)
   1--- a/frotz
   2+++ b/frotz
   3@@ -1,3 +1,2 @@
   4 a
   5 b
   6-c