Skip to content

Commit dbe4b0f

Browse files
committed
.gitignore: use /src instead of ./src to ignore top-level binary
The ./src pattern is non-standard gitignore syntax. Tools like ripgrep (used by Neovim's Telescope) misinterpret it and also hide cmd/src/, making files in that directory unfindable. /src correctly matches only the top-level compiled binary.
1 parent 5e4aec2 commit dbe4b0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
./src
1+
/src
22
cmd/src/src
33
*.zip
44
release

0 commit comments

Comments
 (0)