From d2ca27259aa6d635a263bf97fd3812a32e71f838 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Tue, 6 Apr 2010 20:03:57 +0000 Subject: [PATCH] Added a script to validate our .gitignore. --- scripts/check-gitignore.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/check-gitignore.sh diff --git a/scripts/check-gitignore.sh b/scripts/check-gitignore.sh new file mode 100755 index 0000000000..17e06f99ef --- /dev/null +++ b/scripts/check-gitignore.sh @@ -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:" +