Closed
Description
Description
2025/05/13 23:46:16 modules/git/blame.go:188:tryCreateBlameIgnoreRevsFile() [E] Unable to get .git-blame-ignore-revs file: GetTreeEntryByPath: object does not exist [id: , rel_path: .git-blame-ignore-revs]
Gitea Version
1.24.0+rc0-19-g89f1df033a
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker compose
Database
PostgreSQL
Activity
TheFox0x7 commentedon May 13, 2025
Log got introduced in: 32b97b3#diff-f2ecddd42242f5d967513025f947a204bdd2566aaa64c510aa61c7662a8c18edR188
This isn't a concern unless you have that file in repository.
I'd argue that this shouldn't be even be logged at error level if the file doesn't exist.
lunny commentedon May 13, 2025
The log message is a false alarm. I’ve submitted #34457 to suppress it.
vtolstov commentedon May 13, 2025
thanks!
Don't display error log when .git-blame-ignore-revs doesn't exist (#3…
Don't display error log when .git-blame-ignore-revs doesn't exist (go…
Don't display error log when .git-blame-ignore-revs doesn't exist (#3…