- updated .gitattributes
- Added separate handling of committing dist.sh. It is a global commit
that takes place in all projects.
Signed-off-by: Roland Häder <roland@mxchange.org>
-# Use Linux/Uni* line-feed for new lines (prevents converting)
-* text=lf
+# Autodetect text files
+* text=auto
+
+# Force the following filetypes to have unix eols, so Windows does not break them
+*.* text eol=lf
+
+# Force images/fonts to be handled as binaries
+*.jpg binary
+*.jpeg binary
+*.gif binary
+*.png binary
+*.t3x binary
+*.t3d binary
+*.exe binary
+*.data binary
+*.ttf binary
+*.eof binary
+*.eot binary
+*.swf binary
+*.mov binary
+*.mp4 binary
+*.mp3 binary
+*.ogg binary
+*.flv binary
+
then
# Special commit ... (known-binaries)
git commit --signoff -S lib/*.jar -m "$1"
+ elif [ "$1" = "updated dist.sh" ]
+ then
+ # Special commit ... (known shell script)
+ git commit --signoff -S "dist.sh" -m "$1"
elif [ -n "$1" -a -n "$2" ]
then
# Regular commit with given message