author | Jay Soffian <jaysoffian@gmail.com> | |
Thu, 22 Sep 2011 21:44:20 +0000 (17:44 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 22 Sep 2011 23:38:22 +0000 (16:38 -0700) | ||
commit | b2b3e9c2d623359ed680a5eef850ef2fd313b73c | |
tree | 8a8417ac565eba8fd0776367375e73d230597ed5 | tree | snapshot |
parent | 167a5800cb707ed489c3cb88174ee21e95a610ae | commit | diff |
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>
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 | diff | blob | history | |
builtin/check-attr.c | diff | blob | history | |
t/t0003-attributes.sh | diff | blob | history |