Revision: 76275
          http://sourceforge.net/p/brlcad/code/76275
Author:   starseeker
Date:     2020-07-07 14:26:00 +0000 (Tue, 07 Jul 2020)
Log Message:
-----------
Start working on a gitattributes file which is intended to do (more or less) 
what https://brlcad.org/wiki/Mime-types does for subversion in terms of 
identifying file patterns with specific line ending types to manage (or not, as 
the case may be).

Modified Paths:
--------------
    brlcad/trunk/misc/CMakeLists.txt

Added Paths:
-----------
    brlcad/trunk/misc/repoconv/gitattributes

Modified: brlcad/trunk/misc/CMakeLists.txt
===================================================================
--- brlcad/trunk/misc/CMakeLists.txt    2020-07-06 13:41:21 UTC (rev 76274)
+++ brlcad/trunk/misc/CMakeLists.txt    2020-07-07 14:26:00 UTC (rev 76275)
@@ -209,6 +209,7 @@
   repoconv/custom/r29886_tags.fi
   repoconv/cvs_authormap
   repoconv/cvs_repaired/sphflake.pix,v
+  repoconv/gitattributes
   repoconv/gitignore.tar.gz
   repoconv/manual_merge_info.tar.gz
   repoconv/md5.hpp

Added: brlcad/trunk/misc/repoconv/gitattributes
===================================================================
--- brlcad/trunk/misc/repoconv/gitattributes                            (rev 0)
+++ brlcad/trunk/misc/repoconv/gitattributes    2020-07-07 14:26:00 UTC (rev 
76275)
@@ -0,0 +1,146 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.[0-9] text
+*.ac text
+*.am text
+*.asc text
+*.awk text
+*.c text
+*.c text
+*.cc text
+*.cpp text
+*.cpp text
+*.cs text
+*.css text
+*.csv text
+*.cxx text
+*.decls text
+*.def text
+*.enc text
+*.f text
+*.h text
+*.h text
+*.hpp text
+*.htm text
+*.html text
+*.hxx text
+*.in text
+*.itcl text
+*.itk text
+*.java text
+*.l text
+*.log text
+*.m4 text
+*.man* text
+*.ms text
+*.msg text
+*.n text
+*.nsi text
+*.pbxproj text
+*.perl text
+*.php text
+*.pl text
+*.plist text
+*.py text
+*.qpg text
+*.r text
+*.res text
+*.rt text
+*.s text
+*.sh text
+*.sh text
+*.spec text
+*.tcl text
+*.terms text
+*.test text
+*.tex text
+*.tk text
+*.tr text
+*.txt text
+*.txt text
+*.vbs text
+*.vcf text
+*.xml text
+*.y text
+AUTHORS* text
+BUGS* text
+COPYING* text
+ChangeLog* text
+HACKING* text
+INSTALL* text
+Makefile text
+Makefile* text
+NEWS* text
+README* text
+TODO* text
+### catch-all for files starting and ending in all caps with optional (e.g. 
READ.ME)
+[A-Z._][A-Z._]*[A-Z._] text
+
+
+# Declare files that will always have CRLF line endings on checkout.
+*.bat text eol=crlf
+*.dsp text eol=crlf
+*.dsp text eol=crlf
+*.dsw text eol=crlf
+*.dsw text eol=crlf
+*.rc text eol=crlf
+*.sln text eol=crlf
+*.vcproj text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+#
+# (NOTE: There are some - like STEP files - which could go either way.  STEP
+# files are technically editable as text, but that is not normally how they are
+# used...)
+*.a binary
+*.ai binary
+*.avi binary
+*.bmp binary
+*.chm binary
+*.cur binary
+*.doc binary
+*.dylib binary
+*.eps binary
+*.g binary
+*.gif binary
+*.gpgkey binary
+*.gtar binary
+*.gz binary
+*.hqx binary
+*.ico binary
+*.igs binary
+*.jar binary
+*.jpeg binary
+*.jpg binary
+*.jpg binary
+*.mov binary
+*.mp3 binary
+*.mpg binary
+*.pdf binary
+*.pix binary
+*.png binary
+*.png binary
+*.ppm binary
+*.ppt binary
+*.ps binary
+*.psd binary
+*.rgb binary
+*.rtf binary
+*.smil binary
+*.so binary
+*.step binary
+*.stp binary
+*.svg  binary
+*.svgz binary
+*.swf binary
+*.tgz binary
+*.tif binary
+*.tiff binary
+*.ttf binary
+*.xbm binary
+*.xls binary
+*.zip binary
+


Property changes on: brlcad/trunk/misc/repoconv/gitattributes
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to