Skip to content

Commit 941c7df

Browse files
committed
ci: update of gitattributes file according to https://github.com/gitattributes/gitattributes templates
1 parent 69ed8a4 commit 941c7df

File tree

1 file changed

+3
-33
lines changed

1 file changed

+3
-33
lines changed

.gitattributes

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -45,39 +45,9 @@ Dockerfile text
4545
# Force bash scripts to always use LF line endings so that if a repo is accessed
4646
# in Unix via a file share from Windows, the scripts will work.
4747
*.sh text eol=lf
48+
# gofmt defaults to LF for all the platforms: https://github.com/golang/go/issues/16355
4849
*.go text eol=lf
4950

50-
###############################
51-
# Git Large File System (LFS) #
52-
###############################
53-
54-
# Archives
55-
*.7z filter=lfs diff=lfs merge=lfs -text
56-
*.br filter=lfs diff=lfs merge=lfs -text
57-
*.gz filter=lfs diff=lfs merge=lfs -text
58-
*.tar filter=lfs diff=lfs merge=lfs -text
59-
*.zip filter=lfs diff=lfs merge=lfs -text
60-
61-
# Documents
62-
*.pdf filter=lfs diff=lfs merge=lfs -text
63-
64-
# Images
65-
*.gif filter=lfs diff=lfs merge=lfs -text
66-
*.ico filter=lfs diff=lfs merge=lfs -text
67-
*.jpg filter=lfs diff=lfs merge=lfs -text
68-
*.pdf filter=lfs diff=lfs merge=lfs -text
69-
*.png filter=lfs diff=lfs merge=lfs -text
70-
*.psd filter=lfs diff=lfs merge=lfs -text
71-
*.webp filter=lfs diff=lfs merge=lfs -text
72-
73-
# Fonts
74-
*.woff2 filter=lfs diff=lfs merge=lfs -text
75-
76-
# Other
77-
*.exe filter=lfs diff=lfs merge=lfs -text
78-
79-
80-
8151
##########################################
8252
# Basic .gitattributes for a Java repo.#
8353
##########################################
@@ -121,7 +91,7 @@ Dockerfile text
12191

12292
# Common build-tool wrapper scripts ('.cmd' versions are handled by 'Common.gitattributes')
12393
mvnw text eol=lf
124-
gradlew text eol=
94+
gradlew text eol=lf
12595

12696
##########################################
12797
# Basic .gitattributes for a python repo.#
@@ -153,4 +123,4 @@ gradlew text eol=
153123
# Note: .db, .p, and .pkl files are associated
154124
# with the python modules ``pickle``, ``dbm.*``,
155125
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
156-
# (among others).
126+
# (among others).

0 commit comments

Comments
 (0)