Added a script to validate our .gitignore.

This commit is contained in:
Travis Cross 2010-04-06 20:03:57 +00:00
parent 52c5cd074b
commit d2ca27259a
1 changed files with 8 additions and 0 deletions

8
scripts/check-gitignore.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
## files we might want to ignore
git ls-files -o --exclude-standard | sed -e "s:.:\/\\0:"
## files we are accidentally ignoring
git ls-files -i --exclude-standard | sed -e "s:.:\!\/\\0:"