Skip to content

gitea 1.24-nightly strange error in logs #34454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vtolstov opened this issue May 13, 2025 · 3 comments · May be fixed by #34457
Closed

gitea 1.24-nightly strange error in logs #34454

vtolstov opened this issue May 13, 2025 · 3 comments · May be fixed by #34457
Labels
Milestone

Comments

@vtolstov
Copy link

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

@TheFox0x7
Copy link
Contributor

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
Copy link
Member

lunny commented May 13, 2025

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

@lunny lunny added this to the 1.24.0 milestone May 13, 2025
@vtolstov
Copy link
Author

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants