From 6cac8f921eb4ac15017ef13206a595f600390b42 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 17 Apr 2010 20:49:52 +0200 Subject: [PATCH 1/1] fix check-gitattributes script ignoring .git folders --- check-gitattributes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-gitattributes.sh b/check-gitattributes.sh index d3c540fc..6a35c4c0 100755 --- a/check-gitattributes.sh +++ b/check-gitattributes.sh @@ -9,7 +9,7 @@ ISTEXT=" crlf=input" LF=" " eol=`cat .gitattributes` -find . -type f | { +find . -name .git -prune -o \( -type f -print \) | { unseen=`echo "$eol" | cut -d ' ' -f 1 | grep .` neweol= while IFS= read -r LINE; do -- 2.39.2