add git-check-ignore sub-command
commit368aa52952deb631b38a89837c4abbb00c5261c1
authorAdam Spiers <git@adamspiers.org>
Sun, 6 Jan 2013 16:58:13 +0000 (6 16:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jan 2013 22:26:38 +0000 (6 14:26 -0800)
tree9f0095b883dc642e36ec9306bfd7d07f1ed7c474
parent1794e6e0972bec862a29b637e4c4262fa76e97a8
add git-check-ignore sub-command

This works in a similar manner to git-check-attr.

Thanks to Jeff King and Junio C Hamano for the idea:
http://thread.gmane.org/gmane.comp.version-control.git/108671/focus=108815

Signed-off-by: Adam Spiers <git@adamspiers.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore
Documentation/git-check-ignore.txt [new file with mode: 0644]
Documentation/gitignore.txt
Documentation/technical/api-directory-listing.txt
Makefile
builtin.h
builtin/check-ignore.c [new file with mode: 0644]
command-list.txt
contrib/completion/git-completion.bash
git.c
t/t0008-ignores.sh [new file with mode: 0755]