gitea 1.24-nightly strange error in logs #14484

Closed
opened 2025-11-02 11:14:11 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @vtolstov on GitHub (May 13, 2025).

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

Originally created by @vtolstov on GitHub (May 13, 2025). ### 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
GiteaMirror added the type/bug label 2025-11-02 11:14:12 -06:00
Author
Owner

@TheFox0x7 commented on GitHub (May 13, 2025):

Log got introduced in: https://github.com/go-gitea/gitea/commit/32b97b3ce8eeccdcfd51280f83e659a29a18caa2#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.

@TheFox0x7 commented on GitHub (May 13, 2025): Log got introduced in: https://github.com/go-gitea/gitea/commit/32b97b3ce8eeccdcfd51280f83e659a29a18caa2#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.
Author
Owner

@lunny commented on GitHub (May 13, 2025):

The log message is a false alarm. I’ve submitted #34457 to suppress it.

@lunny commented on GitHub (May 13, 2025): The log message is a false alarm. I’ve submitted #34457 to suppress it.
Author
Owner

@vtolstov commented on GitHub (May 13, 2025):

thanks!

@vtolstov commented on GitHub (May 13, 2025): thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14484