forked from hawk/lux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# A primer on a few git attributes | ||
# whitespace=space-before-tab = do not allow spaces followed by tabs | ||
# whitespace=tab-in-indent = do not allow indentation by tabs | ||
# whitespace=trailing-space = do not allow trailing spaces | ||
|
||
# ============================================================================== | ||
|
||
# Default behaviour, in case the git client doesn't have core.autocrlf set: | ||
# commit only LF line endings, but use CRLF locally if needed | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/ | ||
* text=auto | ||
|
||
# Whitespace =================================================================== | ||
* whitespace=space-before-tab,tab-in-indent,trailing-space,tab | ||
# *.erl whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.hrl whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.yrl whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.c whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.h whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.cpp whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.java whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.js whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.nc whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.xml whitespace=space-before-tab,tab-in-indent,trailing-space | ||
# *.yang whitespace=space-before-tab,tab-in-indent,trailing-space | ||
|
||
# Whitespace (exclusions) ====================================================== | ||
.gitmodules -whitespace | ||
Makefile* -whitespace | ||
*.lux -whitespace | ||
*.luxinc -whitespace | ||
*.sh -whitespace | ||
*.env -whitespace | ||
*.md -whitespace | ||
*.mk whitespace=space-before-tab,-tab-in-indent,trailing-space | ||
*.xml whitespace=space-before-tab,-tab-in-indent,trailing-space | ||
*.patch whitespace=space-before-tab,-tab-in-indent,trailing-space | ||
Makefile* whitespace=space-before-tab,-tab-in-indent,trailing-space | ||
.classpath whitespace=space-before-tab,-tab-in-indent,trailing-space | ||
.project whitespace=space-before-tab,-tab-in-indent,trailing-space | ||
|
||
# Text ========================================================================= | ||
*.c text eol=lf diff=cpp | ||
*.conf text eol=lf | ||
*.cpp text eol=lf diff=cpp | ||
*.erl text eol=lf | ||
*.hrl text eol=lf | ||
*.yrl text eol=lf | ||
*.func text eol=lf | ||
*.h text eol=lf diff=cpp | ||
*.html text eol=lf diff=html | ||
*.inc text eol=lf | ||
*.java text eol=lf diff=java | ||
*.js text eol=lf | ||
*.json text eol=lf | ||
*.mk text eol=lf | ||
*.nc text eol=lf | ||
*.perl text eol=lf diff=perl | ||
*.php text eol=lf diff=php | ||
*.pl text eol=lf diff=perl | ||
*.pm text eol=lf diff=perl | ||
*.py text eol=lf diff=python | ||
*.sh text eol=lf | ||
*.txt text eol=lf | ||
*.xml text eol=lf | ||
*.yang text eol=lf | ||
Makefile* text eol=lf | ||
.classpath text eol=lf | ||
.project text eol=lf | ||
|
||
# Text (CRLF exclusions) ======================================================= | ||
# /win32.xml text eol=crlf | ||
|
||
# Text (exclusions) ============================================================ | ||
*.lux -text | ||
*.luxinc -text | ||
|
||
# Binaries ===================================================================== | ||
|
||
*.docx binary | ||
*.gif binary | ||
*.ico binary | ||
*.jpg binary diff=exif | ||
*.pdf binary | ||
*.png binary | ||
*.tar.gz binary | ||
*.tgz binary | ||
*.xlsx binary | ||
*.zip binary | ||
|
||
# Binaries (exclusions) ======================================================== | ||
|
||
# Max line length ============================================================== | ||
|
||
# Ignore when exporting ======================================================== | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.gitmodules export-ignore |