fix(gitignore): correct log/ pattern to only match root directory

The previous `log/` pattern was too broad and matched any directory
named 'log' anywhere in the path, causing Java source files in
`handler/log/` directories to be incorrectly ignored.

Changed to `/log/` to only match the log directory at project root.

Added previously ignored files:
- OperationLogHandler.java
- SysLogHandler.java
- OperationLogHandlerTest.java
- SysLogHandlerTest.java
This commit was merged in pull request #3.
This commit is contained in:
张翔
2026-04-21 19:51:35 +08:00
committed by zhangxiang
parent dac377d8ec
commit 7fab39ffcf
5 changed files with 883 additions and 1 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ $RECYCLE.BIN/
# Logs
logs/
*.log
log/
/log/
# Testing
coverage/