diff --git a/autogit b/autogit index bf698d1..599e6b6 100755 --- a/autogit +++ b/autogit @@ -19,6 +19,8 @@ MIME_TYPES="application/x-exe" # binary executables MIME_TYPES+="\|application/octet-stream" # databases, etc. +MIME_TYPES+="\|application/x-sharedlib" +MIME_TYPES+="\|application/x-archive" #MIME_TYPES+="\|application/xml" #MIME_TYPES+="\|text/x-perl" #MIME_TYPES+="\|text/plain" @@ -56,8 +58,8 @@ cp /tmp/gitignore ./.gitignore # Recurses SEARCHPATH to produce tree of files to be tested. # TODO try this: #find . -regex ????? -type f -exec file '{}' \; -find $SEARCHPATH -type f -name "*" | grep -v $EXCLUDE_DIRS > /tmp/$APP_NAME.searchtree - +#find $SEARCHPATH -type f -name "*" | grep -v $EXCLUDE_DIRS > /tmp/$APP_NAME.searchtree +git ls-files -o --exclude-standard | grep -v $EXCLUDE_DIRS > /tmp/$APP_NAME.searchtree #------Match MIME types.