Add read_cache to builtin-check-attr
commit6b06d518caa6ef98cc0efb796713d0a0693895bf
authorBrian Downing <bdowning@lavos.net>
Tue, 14 Aug 2007 13:18:38 +0000 (14 08:18 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Aug 2007 05:46:01 +0000 (14 22:46 -0700)
tree5c6d995366c0f3f7ec3b50196305a157620d74a8
parent6d2d9e8666ef72c8878af4822e243ca33b6752a0
Add read_cache to builtin-check-attr

We can now read .gitattributes files out of the index, but the index
must be loaded for this to work.

Signed-off-by: Brian Downing <bdowning@lavos.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-check-attr.c