Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions autogit
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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.
Expand Down