.gitattributes 877 B

1234567891011121314
  1. # shell scripts should not use tabs to indent!
  2. *.bash text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
  3. *.sh text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
  4. # files for systemd (shell-similar)
  5. *.path text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
  6. *.service text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
  7. *.timer text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
  8. # go fmt will enforce this, but in case a user has not called "go fmt" allow GIT to catch this:
  9. *.go text eol=lf core.whitespace whitespace=indent-with-non-tab,trailing-space,tabwidth=4
  10. *.yml text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
  11. .git* text eol=auto core.whitespace whitespace=trailing-space