Code

Teach '--cached' option to check-attr
authorJay Soffian <jaysoffian@gmail.com>
Thu, 22 Sep 2011 21:44:20 +0000 (17:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Sep 2011 23:38:22 +0000 (16:38 -0700)
commitb2b3e9c2d623359ed680a5eef850ef2fd313b73c
tree8a8417ac565eba8fd0776367375e73d230597ed5
parent167a5800cb707ed489c3cb88174ee21e95a610ae
Teach '--cached' option to check-attr

This option causes check-attr to consider .gitattributes only from
the index, ignoring .gitattributes from the working tree. This allows
the command to be used in situations where a working tree does not exist.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-check-attr.txt
builtin/check-attr.c
t/t0003-attributes.sh