]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Added a script to validate our .gitignore.
authorTravis Cross <tc@traviscross.com>
Tue, 6 Apr 2010 20:03:57 +0000 (20:03 +0000)
committerTravis Cross <tc@traviscross.com>
Tue, 6 Apr 2010 20:03:57 +0000 (20:03 +0000)
scripts/check-gitignore.sh [new file with mode: 0755]

diff --git a/scripts/check-gitignore.sh b/scripts/check-gitignore.sh
new file mode 100755 (executable)
index 0000000..17e06f9
--- /dev/null
@@ -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:"
+