From 0c1ccac5bc6e599482c4771d781ddf1681c123c6 Mon Sep 17 00:00:00 2001 From: Christopher Loverich <1010084+cloverich@users.noreply.github.com> Date: Sun, 12 Jan 2025 11:09:05 -0800 Subject: [PATCH] configure lfs tracking --- .gitattributes | 1014 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1014 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e783c26 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,1014 @@ +# Basic .gitattributes for a perl repo. + +# Source files +# ============ +*.pl text diff=perl +*.pm text diff=perl +# Basic .gitattributes for a Lua repo. + +# Source files +# ============ +*.lua text + +# Luadoc output +# ============= +*.html text diff=html +*.css text diff=css +# Treat all Go files in this repo as binary, with no git magic updating +# line endings. Windows users contributing to Go will need to use a +# modern version of git and editors capable of LF line endings. + +*.go -text diff=golang +# Basic .gitattributes for a R repo. + +# Source files +# ============ +*.Rdata binary +*.RData binary +*.rda binary +*.rdb binary +*.rds binary +*.Rd text +*.Rdx binary +*.Rmd text +*.R text +*.Rproj text +# Lazarus Project Information file (stored in XML; contains project-specific settings) +*.lpi text + +# Lazarus Program file; contains Pascal source of main program +*.lpr text + +# Lazarus Form file; contains configuration information for all objects on a form +# (stored in a Lazarus-specific format; the actions are described by Pascal source code in a corresponding *.pas file) +*.lfm text + +# Unit with Pascal code (typically for a form stored in a corresponding *.lfm file) +*.pas text diff=pascal + +# Pascal code +*.p text diff=pascal +*.pp text diff=pascal + +# Lazarus Resource file (this is a generated file; not to be confused with a Windows resource file). +*.lrs text + +# Compiled unit, symbols part. +*.ppu binary + +# (1) Compiled unit, code part. +# (2) Compiled code from other compilers (e.g. gcc) +*.o binary + +# Object resource, automatically generated from {$R} directive. +*.or text + +# (1) Compiled unit, code part for smartlinking (on some platforms) +# (2) Compiled code from other compilers (e.g. gcc) linked into a static library +*.a binary + +# Lazarus package information file. (stored in XML; contains package-specific settings) +*.lpk text + +# Include file +*.inc text + +# Lazarus Project Session file. See Project Options -> Save session information in +*.lps text + +# Lazarus Resourcestring table created when saving a lfm file and i18n is enabled. It contains the TTranslateString properties of the lfm. +*.lrt text + +# Resourcestring table created by the compiler for every unit with a resourcestring section. +*.rst text + +# Resourcestring table in JSON format created by FPC 2.7.1 for units with resourcestring section. +*.rsj text + +# Compilation session for a project +*.compiled text + +# Resource file +*.res text + +# Lazarus resource form file +*.rc text + +# Icon file +*.ico binary +# Adobe Flash authoring file +*.fla text + +# ActionScript file +*.as text + +# Flash XML file +*.xml text + +# Treat .swf and .swc as binary +# https://stackoverflow.com/q/1529178 + +# Compiled Flash file +*.swf binary -crlf -diff -merge + +# Compiled Flash Library/Script +*.swc binary -crlf -diff -merge + +# ActionScript Communication file +*.asc text + +# Flash JavaScript file +*.jsfl text +# Handle line endings automatically for files detected as text +# and leave all files detected as binary untouched. +* text=auto + +# +# The above will handle all files NOT found below +# +# These files are text and should be normalized (Convert crlf => lf) +*.bal text +*.bash text eol=lf +*.css text diff=css +*.df text +*.htm text diff=html +*.html text diff=html +*.js text +*.json text +*.properties text +*.sh text eol=lf +*.tld text +*.txt text +*.tag text +*.tagx text +*.xml text +*.yml text + +# These files are binary and should be left untouched +# (binary is a macro for -text -diff) +*.balx binary +*.dll binary +*.ear binary +*.gif binary +*.ico binary +*.jpg binary +*.jpeg binary +*.png binary +*.so binary +# Sources +*.c text diff=c +*.cc text diff=cpp +*.cxx text diff=cpp +*.cpp text diff=cpp +*.c++ text diff=cpp +*.hpp text diff=cpp +*.h text diff=c +*.h++ text diff=cpp +*.hh text diff=cpp + +# Compiled Object files +*.slo binary +*.lo binary +*.o binary +*.obj binary + +# Precompiled Headers +*.gch binary +*.pch binary + +# Compiled Dynamic libraries +*.so binary +*.dylib binary +*.dll binary + +# Compiled Static libraries +*.lai binary +*.la binary +*.a binary +*.lib binary + +# Executables +*.exe binary +*.out binary +*.app binary +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just comment the entries below and +# uncomment the group further below +############################################################################### + +*.sln text eol=crlf +*.csproj text eol=crlf +*.vbproj text eol=crlf +*.vcxproj text eol=crlf +*.vcproj text eol=crlf +*.dbproj text eol=crlf +*.fsproj text eol=crlf +*.lsproj text eol=crlf +*.wixproj text eol=crlf +*.modelproj text eol=crlf +*.sqlproj text eol=crlf +*.wwaproj text eol=crlf + +*.xproj text eol=crlf +*.props text eol=crlf +*.filters text eol=crlf +*.vcxitems text eol=crlf + + +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +#*.xproj merge=binary +#*.props merge=binary +#*.filters merge=binary +#*.vcxitems merge=binary +# These settings are for Ruby On Rails project +# +# +# Define a dummy ours merge strategy with: +# +# $ git config --global merge.ours.driver true +schema.rb merge=ours diff=ruby +# Basic .gitattributes for a Mathematica repo. + +# Source files +# Caution: *.m also matches Matlab files. +# ============ +*.nb text diff=mathematica +*.wls text diff=mathematica +*.wl text diff=mathematica +*.m text diff=mathematica + +# Test files +# ========== +*.wlt text diff=mathematica +*.mt text diff=mathematica + +# Binary files +# ============ +*.mx binary +# Handle line endings automatically for files detected as text +# and leave all files detected as binary untouched. +* text=auto + +# Fountain files +*.fountain text diff=fountain +*.pdf binary +*.fdx text +# Unity +*.cginc text +*.cs text diff=csharp +*.shader text + +# Unity YAML +*.mat merge=unityyamlmerge eol=lf +*.anim merge=unityyamlmerge eol=lf +*.unity merge=unityyamlmerge eol=lf +*.prefab merge=unityyamlmerge eol=lf +*.asset merge=unityyamlmerge eol=lf +*.meta merge=unityyamlmerge eol=lf +*.controller merge=unityyamlmerge eol=lf + +# "physic" for 3D but "physics" for 2D +*.physicMaterial2D merge=unityyamlmerge eol=lf +*.physicMaterial merge=unityyamlmerge eol=lf +*.physicsMaterial2D merge=unityyamlmerge eol=lf +*.physicsMaterial merge=unityyamlmerge eol=lf + +# Using Git LFS +# Add diff=lfs merge=lfs to the binary files + +# Unity LFS +*.cubemap binary +*.unitypackage binary + +# 3D models +*.3dm binary +*.3ds binary +*.blend binary +*.c4d binary +*.collada binary +*.dae binary +*.dxf binary +*.FBX binary +*.fbx binary +*.jas binary +*.lws binary +*.lxo binary +*.ma binary +*.max binary +*.mb binary +*.obj binary +*.ply binary +*.skp binary +*.stl binary +*.ztl binary + +# Audio +*.aif binary +*.aiff binary +*.it binary +*.mod binary +*.mp3 binary +*.ogg binary +*.s3m binary +*.wav binary +*.xm binary + +# Video +*.asf binary +*.avi binary +*.flv binary +*.mov binary +*.mp4 binary +*.mpeg binary +*.mpg binary +*.ogv binary +*.wmv binary + +# Images +*.bmp binary +*.exr binary +*.gif binary +*.hdr binary +*.iff binary +*.jpeg binary +*.jpg binary +*.pict binary +*.png binary +*.psd binary +*.tga binary +*.tif binary +*.tiff binary + +# Compressed Archive +*.7z binary +*.bz2 binary +*.gz binary +*.rar binary +*.tar binary +*.zip binary + +# Compiled Dynamic Library +*.dll binary +*.pdb binary +*.so binary + +# Fonts +*.otf binary +*.ttf binary + +# Executable/Installer +*.apk binary +*.exe binary + +# Documents +*.pdf binary + +# ETC +*.a binary +*.rns binary +*.reason binary + +# Collapse Unity-generated files on GitHub +*.asset linguist-generated +*.mat linguist-generated +*.meta linguist-generated +*.prefab linguist-generated +*.unity linguist-generated + +# Spine export file for Unity +# Auto detect text files and perform LF normalization +*.skel.bytes binary +# https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/ +* text=auto + +*.frm -text +*.val -text +*.tbl -text +*.rel -text +*.obj -text +*.dbi -text +*.sec -text +*.css text diff=css +*.js seol=lf +# compare .pbxproj files as binary and always merge as union +*.pbxproj binary -merge=union +*.m text diff=objc +# Auto detect text files and perform LF normalization +# https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/ +* text=auto + +*.cs text diff=csharp +# +# Project files +# + +# Delphi form module +*.dfm text + +# Delphi project options file +*.dof text + +# Desktop configuration +*.dsk binary + +# +# General +# + +# Text file +*.txt text + +# Gettext Portable Object +*.po binary + +# Backup +*.bak binary + +# Config file +*.cfg text + +# Compiled Help File - contains html. See also package chm +*.chm binary + +# Comma Separated Values text file format +*.csv text + +# Directly executable program +*.exe binary + +# Help file +*.hlp binary + +# Initialization file +*.ini text + +# OpenDocument text document +*.odt text + +# Portable Document Format +*.pdf text + +# PostScript +*.ps text + +# Rich Text Format text file +*.rtf text + +# +# Image +# + +# Portable network graphic +*.png binary + +# Bitmap +*.bmp binary + +# Icon +*.ico binary + +# Pixmap +*.xpm binary + +# Portable pixmap +*.ppm binary + +# Portable graymap +*.pgm binary + +# Portable bitmap +*.pbm binary + +# Lossy graphics file +*.jpg binary + +# +# XML +# + +*.xml text +*.dtd text +*.xsd text +*.xsl text + +# +# Web +# + +# Hypertext Markup Language +*.html text diff=html + +# Cascading style sheet +*.css text diff=css + +# +# Archive +# + +# tape archive +*.tar binary + +# archive file +*.zip binary + +# +# Database +# + +# Database file +*.dbf binary + +# Multiple index file +*.mdx binary + +# +# Spreadsheet +# + +# OpenOffice.org Calc spreadsheet File Format +*.ods binary + +# Microsoft Excel File Format +*.xls binary + +# Microsoft Office Open XML Excel File Format +*.xlsx binary +# Swift gitattributes +*.pbxproj merge=union +*.swift text diff=swift +# Basic .gitattributes for a python repo. + +# Source files +# ============ +*.pxd text diff=python +*.py text diff=python +*.py3 text diff=python +*.pyw text diff=python +*.pyx text diff=python +*.pyz text diff=python +*.pyi text diff=python + +# Binary files +# ============ +*.db binary +*.p binary +*.pkl binary +*.pickle binary +*.pyc binary +*.pyd binary +*.pyo binary + +# Jupyter notebook +*.ipynb text + +# Note: .db, .p, and .pkl files are associated +# with the python modules ``pickle``, ``dbm.*``, +# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb`` +# (among others). +# Java sources +*.java text diff=java +*.gradle text diff=java +*.gradle.kts text diff=java + +# These files are text and should be normalized (Convert crlf => lf) +*.css text diff=css +*.df text +*.htm text diff=html +*.html text diff=html +*.js text +*.jsp text +*.jspf text +*.jspx text +*.properties text +*.tld text +*.tag text +*.tagx text +*.xml text + +# These files are binary and should be left untouched +# (binary is a macro for -text -diff) +*.class binary +*.dll binary +*.ear binary +*.jar binary +*.so binary +*.war binary +*.jks binary +# Handle line endings automatically for files detected as text +# and leave all files detected as binary untouched. +* text=auto + +# Fortran files +*.f text diff=fortran +*.for text diff=fortran +*.f90 text diff=fortran +*.f95 text diff=fortran +*.f03 text diff=fortran +# Common settings that generally should always be used with your language specific settings + +# Auto detect text files and perform LF normalization +# https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/ +* text=auto + +# +# The above will handle all files NOT found below +# + +# Documents +*.bibtex text diff=bibtex +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain +*.md text +*.tex text diff=tex +*.adoc text +*.textile text +*.mustache text +*.csv text +*.tab text +*.tsv text +*.txt text +*.sql text + +# Graphics +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.tif binary +*.tiff binary +*.ico binary +# SVG treated as an asset (binary) by default. +*.svg text +# If you want to treat it as binary, +# use the following line instead. +# *.svg binary +*.eps binary + +# Scripts +*.bash text eol=lf +*.fish text eol=lf +*.sh text eol=lf +# These are explicitly windows files and should use crlf +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf + +# Serialisation +*.json text +*.toml text +*.xml text +*.yaml text +*.yml text + +# Archives +*.7z binary +*.gz binary +*.tar binary +*.tgz binary +*.zip binary + +# Text files where line endings should be preserved +*.patch -text + +# +# Exclude files from exporting +# + +.gitattributes export-ignore +.gitignore export-ignore +.gitkeep export-ignore +# Basic .gitattributes for a Vim repo. +# Vim on Linux works with LF only, Vim on Windows works with both LF and CRLF + +# Source files +# ============ +*.vim text eol=lf +.vimrc text eol=lf +.gvimrc text eol=lf +## GITATTRIBUTES FOR WEB PROJECTS +# +# These settings are for any web project. +# +# Details per file setting: +# text These files should be normalized (i.e. convert CRLF to LF). +# binary These files are binary and should be left untouched. +# +# Note that binary is a macro for -text -diff. +###################################################################### + +# Auto detect +## Handle line endings automatically for files detected as +## text and leave all files detected as binary untouched. +## This will handle all files NOT defined below. +* text=auto + +# Source code +*.bash text eol=lf +*.bat text eol=crlf +*.cmd text eol=crlf +*.coffee text +*.css text +*.htm text diff=html +*.html text diff=html +*.inc text +*.ini text +*.js text +*.json text +*.jsx text +*.less text +*.ls text +*.map text -diff +*.od text +*.onlydata text +*.php text diff=php +*.pl text +*.ps1 text eol=crlf +*.py text diff=python +*.rb text diff=ruby +*.sass text +*.scm text +*.scss text diff=css +*.sh text eol=lf +*.sql text +*.styl text +*.tag text +*.ts text +*.tsx text +*.xml text +*.xhtml text diff=html + +# Docker +Dockerfile text + +# Documentation +*.ipynb text +*.markdown text +*.md text +*.mdwn text +*.mdown text +*.mkd text +*.mkdn text +*.mdtxt text +*.mdtext text +*.txt text +AUTHORS text +CHANGELOG text +CHANGES text +CONTRIBUTING text +COPYING text +copyright text +*COPYRIGHT* text +INSTALL text +license text +LICENSE text +NEWS text +readme text +*README* text +TODO text + +# Templates +*.dot text +*.ejs text +*.haml text +*.handlebars text +*.hbs text +*.hbt text +*.jade text +*.latte text +*.mustache text +*.njk text +*.phtml text +*.tmpl text +*.tpl text +*.twig text +*.vue text + +# Configs +*.cnf text +*.conf text +*.config text +.editorconfig text +.env text +.gitattributes text +.gitconfig text +.htaccess text +*.lock text -diff +package-lock.json text -diff +*.toml text +*.yaml text +*.yml text +browserslist text +Makefile text +makefile text + +# Heroku +Procfile text + +# Graphics +*.ai binary +*.bmp binary +*.eps binary +*.gif binary +*.gifv binary +*.ico binary +*.jng binary +*.jp2 binary +*.jpg binary +*.jpeg binary +*.jpx binary +*.jxr binary +*.pdf binary +*.png binary +*.psb binary +*.psd binary +# SVG treated as an asset (binary) by default. +*.svg text +# If you want to treat it as binary, +# use the following line instead. +# *.svg binary +*.svgz binary +*.tif binary +*.tiff binary +*.wbmp binary +*.webp binary + +# Audio +*.kar binary +*.m4a binary +*.mid binary +*.midi binary +*.mp3 binary +*.ogg binary +*.ra binary + +# Video +*.3gpp binary +*.3gp binary +*.as binary +*.asf binary +*.asx binary +*.fla binary +*.flv binary +*.m4v binary +*.mng binary +*.mov binary +*.mp4 binary +*.mpeg binary +*.mpg binary +*.ogv binary +*.swc binary +*.swf binary +*.webm binary + +# Archives +*.7z binary +*.gz binary +*.jar binary +*.rar binary +*.tar binary +*.zip binary + +# Fonts +*.ttf binary +*.eot binary +*.otf binary +*.woff binary +*.woff2 binary + +# Executables +*.exe binary +*.pyc binary + +# RC files (like .babelrc or .eslintrc) +*.*rc text + +# Ignore files (like .npmignore or .gitignore) +*.*ignore text +# Drupal git normalization +# @see https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html +# @see https://www.drupal.org/node/1542048 + +# Normally these settings would be done with macro attributes for improved +# readability and easier maintenance. However macros can only be defined at the +# repository root directory. Drupal avoids making any assumptions about where it +# is installed. + +# Define text file attributes. +# - Treat them as text. +# - Ensure no CRLF line-endings, neither on checkout nor on checkin. +# - Detect whitespace errors. +# - Exposed by default in `git diff --color` on the CLI. +# - Validate with `git diff --check`. +# - Deny applying with `git apply --whitespace=error-all`. +# - Fix automatically with `git apply --whitespace=fix`. + +*.bash text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php +*.config text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php +*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html +*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php +*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php +*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php +*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php +*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php +*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php +*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php +*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 + +# Define binary file attributes. +# - Do not treat them as text. +# - Include binary diff in patches instead of "binary files differ." +*.eot -text diff +*.exe -text diff +*.gif -text diff +*.gz -text diff +*.ico -text diff +*.jpeg -text diff +*.jpg -text diff +*.otf -text diff +*.phar -text diff +*.png -text diff +*.svgz -text diff +*.ttf -text diff +*.woff -text diff +*.woff2 -text diff +# Handle line endings automatically for files detected as text +# and leave all files detected as binary untouched. +* text=auto + +# Ada files +*.ada text diff=ada +*.adb text diff=ada +*.ads text diff=ada +# Basic .gitattributes for a MATLAB repo. +# This template includes Simulink and MuPAD extensions, in addition +# to the MATLAB extensions. + +# Source files +# ============ +*.m text diff=matlab +*.mu text diff=matlab + +# Caution: *.m also matches Mathematica packages. + +# Binary files +# ============ +*.p binary +*.mex* binary +*.fig binary +*.mat binary +*.mdl binary +*.slx binary +*.mdlp binary +*.slxp binary +*.sldd binary +*.mltbx binary +*.mlappinstall binary +*.mlpkginstall binary +*.mn binary \ No newline at end of file