Skip to content
/ gitea Public
  • Sponsor go-gitea/gitea

  • Notifications You must be signed in to change notification settings
  • Fork 5.8k

gitea 1.24-nightly strange error in logs #34454

Closed
@vtolstov

Description

@vtolstov

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

TheFox0x7 commented on May 13, 2025

@TheFox0x7
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

lunny commented on May 13, 2025

@lunny
Member

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

added this to the 1.24.0 milestone on May 13, 2025
vtolstov

vtolstov commented on May 13, 2025

@vtolstov
Author

thanks!

added a commit that references this issue on May 26, 2025
ab96912
added a commit that references this issue on May 26, 2025
97e43cb
added a commit that references this issue on May 26, 2025
a6a14c9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      gitea 1.24-nightly strange error in logs · Issue #34454 · go-gitea/gitea