Compare commits

...

4 Commits

Author SHA1 Message Date
Tomas Dabašinskas
d67fa8c79f
Merge 74cf7151d9 into 7247090aa6 2026-04-16 21:50:36 +00:00
Devin Dooley
7247090aa6
Merge pull request #4811 from foxtrottNB/patch-1
Add ignore rule for TwinCAT Measurement files
2026-04-16 09:42:29 -07:00
foxtrottNB
6836b38f62
Add ignore rule for TwinCAT Measurement files 2026-03-12 15:27:47 +01:00
Tomas Dabašinskas
74cf7151d9
fix(go-gitignore): prevent coverage.go files from being excluded
The current `coverage.*` pattern includes `*.go` files as well. If you use `go vendor`, this causes the following files to be excluded:

- `vendor/golang.org/x/text/internal/language/coverage.go`
- `vendor/golang.org/x/text/language/coverage.go`

This becomes a nightmare to troubleshoot why the local build works, yet a CI fails (as the files were not committed).

Adding `!coverage.go` ensure that `*.go` files do not get accidentally excluded.
2025-12-24 11:45:50 +02:00
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@
# Code coverage profiles and other test artifacts
*.out
coverage.*
!coverage.go
*.coverprofile
profile.cov

View File

@ -55,3 +55,6 @@ LineIDs.dbg.bak
*.~u
*.project.~u
*.suo
# TwinCAT Measurement
*.vsm