Skip to content

Commit

Permalink
Exclude vendor dirs from git CRLF normalization (#10911)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Apr 1, 2020
1 parent 8d99ee2 commit 848502d
Show file tree
Hide file tree
Showing 10 changed files with 1,003 additions and 1,000 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
* text=auto eol=lf
/vendor/** -text -eol
/public/vendor/** -text -eol

conf/* linguist-vendored
docker/* linguist-vendored
options/* linguist-vendored
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 848502d

Please sign in to comment.