Add .gitattributes - prepare for migration to git.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser
2018-07-31 08:08:07 +00:00
parent d9bdb21a59
commit 1f9c31579e
3 changed files with 68 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
#
# Git attributes for special files
#
# files not mentioned here are either text files
# or their types are "guessed" properly by Git
#
# todo (migration from svn to git):
#
# - do we need to define Git attributes for source and text files?
# - if yes, how to migrate "svn:eol-style native" to Git?
# - which attributes do we need for fluid (.fl) files?
# - what about "svn:keywords id" (+ author date revision)?
#
# files that will not be exported in source tarballs
makesrcdist export-ignore eol=lf
.gitattributes export-ignore
.gitignore export-ignore
# fluid files (eol=lf or text?)
#*FIXME* *.fl eol=lf
# shell scripts etc. with Unix line endings (lf)
*.ac eol=lf
*.desktop eol=lf
*.sh eol=lf
documentation/make_pdf eol=lf
misc/config.guess eol=lf
misc/config.sub eol=lf
misc/update_config_scripts eol=lf
# files with Windows line endings (crlf)
*.rc eol=crlf
ide/AndroidStudio3/gradlew.rename_to_bat eol=crlf
# binary files
*.ico binary
*.icns binary
*.jar binary
*.png binary
*.jpg binary
*.ttf binary
*.xcf binary
*.xcf_gz binary
# image files that consist of ASCII text
# *.xbm text
# *.xpm text
+12
View File
@@ -0,0 +1,12 @@
#
# Git attributes for IDE files
#
# MS VC files with Windows line endings (crlf)
*.dsp eol=crlf
*.dsw eol=crlf
*.filters eol=crlf
*.sln eol=crlf
*.vcproj eol=crlf
*.vcxproj eol=crlf
Executable → Regular
View File