X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=check-gitattributes.sh;h=6a35c4c0a2d2f6388aa44b6e0dd622af826f8ed8;hp=d3c540fc6b636b42227e7d03a7f946b0e231c7f5;hb=47a07537c4c92b353cb21b42b67909ec5488b257;hpb=991fbce1912d07f6cc636d423fbc6ddc5560dd1c 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