Skip to content

Commit 848502d

Browse files
silverwindjolheiserguillep2k
authored
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 <[email protected]> Co-authored-by: guillep2k <[email protected]>
1 parent 8d99ee2 commit 848502d

File tree

10 files changed

+1003
-1000
lines changed

10 files changed

+1003
-1000
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
* text=auto eol=lf
2+
/vendor/** -text -eol
3+
/public/vendor/** -text -eol
4+
25
conf/* linguist-vendored
36
docker/* linguist-vendored
47
options/* linguist-vendored

vendor/github.com/go-git/go-git/v5/plumbing/format/commitgraph/commitgraph.go

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)