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
6 changed files with 8 additions and 16 deletions

No files matched your search

+6 -6
View File
@@ -49,14 +49,14 @@ CMakeFiles/
CMakeCache.txt
cmake_install.cmake
Makefile
install_manifest.txt
install_manifest.txt
compile_commands.json
# Temporary files
*.tmp
*.log
*.bak
*.swp
*.tmp
*.log
*.bak
*.swp
# vcpkg
vcpkg_installed/
@@ -66,4 +66,4 @@ vcpkg_installed/
# test output & cache
Testing/
.cache/
.cache/
-1
View File
@@ -1,6 +1,5 @@
# General
.DS_Store
.localized
__MACOSX/
.AppleDouble
.LSOverride
+1
View File
@@ -14,6 +14,7 @@
# Code coverage profiles and other test artifacts
*.out
coverage.*
!coverage.go
*.coverprofile
profile.cov
+1 -1
View File
@@ -7,7 +7,7 @@ release.properties
dependency-reduced-pom.xml
buildNumber.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
# Eclipse m2e generated files
-3
View File
@@ -4,6 +4,3 @@ result-*
# Ignore automatically generated direnv output
.direnv
# Ignore NixOS interactive test driver history
**/.nixos-test-history
-5
View File
@@ -75,11 +75,6 @@ acs-*.bib
# comment
*.cut
# context
*.tuc
*.tui
*.tuo
# cprotect
*.cpt