diff options
author | silverwind <me@silverwind.io> | 2020-04-01 08:33:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 09:33:49 +0300 |
commit | 848502d04cfbb0f99893dfee07a1d835a08ce7e1 (patch) | |
tree | 3a13013a7bdd0f766f502e9deeddf1d873d6687c /.gitattributes | |
parent | 8d99ee27734b15199e5f620f67e81857d4cddfca (diff) | |
download | gitea-848502d04cfbb0f99893dfee07a1d835a08ce7e1.tar.gz gitea-848502d04cfbb0f99893dfee07a1d835a08ce7e1.zip |
Exclude vendor dirs from git CRLF normalization (#10911)
* Exclude vendor dirs from git CRLF normalization
Should get rid of a few warnings like at the end of `lint-backend` like
https://drone.gitea.io/go-gitea/gitea/23117/1/4
* make vendor
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index d71939950d..9024eba583 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,7 @@ * text=auto eol=lf +/vendor/** -text -eol +/public/vendor/** -text -eol + conf/* linguist-vendored docker/* linguist-vendored options/* linguist-vendored |