[read carefully before decide merge] !!! normalize line endings of src files (#1268)

* all source: prepare to normalize line ending

* all src: normalize line endings
This commit is contained in:
Bernd Hahnebach
2021-01-21 22:22:34 +01:00
committed by GitHub
parent 3202174903
commit 02fa8c8413
11 changed files with 53099 additions and 53088 deletions
-53
View File
@@ -1,53 +0,0 @@
# ****************************************************************************
# line endings
# to suppress line ending changes in github, add ?w=1 at link end of a diff
# for more information see
# FreeCAD source code src/Mod/.gitattributes
# FreeCAD forum topic https://forum.freecadweb.org/viewtopic.php?f=17&t=41117
# FreeCAD pull request https://github.com/FreeCAD/FreeCAD/pull/2752
# get all used file types
# in a directory in a bash use
# find . -type f -name '*.*' | sed 's|.*\.||' | sort -u
# search for a specific file ending
# find . -type f -name '*.ico'
# normalize the line endings of the following files
# standard files
*.feature text
*.html text
*.ifc text
*.md text
*.po text
*.pot text
*.py text
# files which are human readable
# but for which it is not sure if normalize is ok
# svg
# binary files
# ico
# mo
# line endings of the directories commented will be normalized
# bimtester/** -text
# examples/** -text
# line endings of the directories NOT commented will NOT be normalized
# Be carefully changes here could affect a lot of files automatically!
# none ATM
# use git to manually correct the file endings
# git add --renormalize .