Continued a bit:
authorRoland Häder <roland@mxchange.org>
Wed, 19 Jul 2017 08:27:38 +0000 (10:27 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 19 Jul 2017 08:27:38 +0000 (10:27 +0200)
- 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>
.gitattributes
commit-jprojects.sh

index 17cdcd5..fe707c5 100644 (file)
@@ -1,2 +1,25 @@
-# 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
+
index deff10f..61ac979 100755 (executable)
@@ -23,6 +23,10 @@ for project in ${LIST}; do
                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