Author SHA1 Message Date
Tomas Dabašinskas cbe18cb89e Merge 74cf7151d9 into 84c6914a9b 2026-04-04 01:42:23 +00: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
5 changed files with 2 additions and 10 deletions

No files matched your search

-1
View File
@@ -1,6 +1,5 @@
# General # General
.DS_Store .DS_Store
.localized
__MACOSX/ __MACOSX/
.AppleDouble .AppleDouble
.LSOverride .LSOverride
+1
View File
@@ -14,6 +14,7 @@
# Code coverage profiles and other test artifacts # Code coverage profiles and other test artifacts
*.out *.out
coverage.* coverage.*
!coverage.go
*.coverprofile *.coverprofile
profile.cov profile.cov
+1 -1
View File
@@ -7,7 +7,7 @@ release.properties
dependency-reduced-pom.xml dependency-reduced-pom.xml
buildNumber.properties buildNumber.properties
.mvn/timing.properties .mvn/timing.properties
# https://maven.apache.org/tools/wrapper/#Usage_with_or_without_Binary_JAR # https://maven.apache.org/wrapper/#usage-without-binary-jar
.mvn/wrapper/maven-wrapper.jar .mvn/wrapper/maven-wrapper.jar
# Eclipse m2e generated files # Eclipse m2e generated files
-3
View File
@@ -4,6 +4,3 @@ result-*
# Ignore automatically generated direnv output # Ignore automatically generated direnv output
.direnv .direnv
# Ignore NixOS interactive test driver history
**/.nixos-test-history
-5
View File
@@ -75,11 +75,6 @@ acs-*.bib
# comment # comment
*.cut *.cut
# context
*.tuc
*.tui
*.tuo
# cprotect # cprotect
*.cpt *.cpt