From: Jannik ZANDER Date: Sat, 1 Feb 2020 17:42:18 +0000 (+0100) Subject: Add .gitattributes X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=c04335e7c7019bc581e41b0f6ad6a742fea07afa;p=dotfiles.git Add .gitattributes --- diff --git a/.config/git/attributes b/.config/git/attributes index e0f3a07..1816133 100644 --- a/.config/git/attributes +++ b/.config/git/attributes @@ -1,21 +1,21 @@ # Default -#* text=auto !eol -# +* text=auto !eol + # Text files that should be normalized (CRLF => LF) -#*.c text -#*.h text -#*.md text -#*.txt text +*.c text +*.h text +*.md text +*.txt text # Text files with fixed EOL=LF -#*.sh text eol=LF +*.sh text eol=LF # Text files with fixed EOL=CRLF$ -#*.bat text eol=CRLF -#*.ahk text eol=crlf -#*.vcproj text eol=crlf +*.bat text eol=CRLF +*.ahk text eol=crlf +*.vcproj text eol=crlf # Binary files -#*.jpg -text -#*.exe -text -#*.reg -text +*.jpg -text +*.exe -text +*.reg -text diff --git a/.gitattributes b/.gitattributes index e0f3a07..1816133 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,21 +1,21 @@ # Default -#* text=auto !eol -# +* text=auto !eol + # Text files that should be normalized (CRLF => LF) -#*.c text -#*.h text -#*.md text -#*.txt text +*.c text +*.h text +*.md text +*.txt text # Text files with fixed EOL=LF -#*.sh text eol=LF +*.sh text eol=LF # Text files with fixed EOL=CRLF$ -#*.bat text eol=CRLF -#*.ahk text eol=crlf -#*.vcproj text eol=crlf +*.bat text eol=CRLF +*.ahk text eol=crlf +*.vcproj text eol=crlf # Binary files -#*.jpg -text -#*.exe -text -#*.reg -text +*.jpg -text +*.exe -text +*.reg -text