]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
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 17cdcd5373ad22f616149f35b61236dfe81ebec3..fe707c5ce3be089f42f7f3eccfe1f7d3132067b1 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 deff10f8ae75d514bac79c52a56b76e867e778fe..61ac979b0a8bab1170012342b7da088854332ddb 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