Unable to find git note corresponding to the commit errors in log #9003

Closed
opened 2025-11-02 08:25:32 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @pboguslawski on GitHub (May 27, 2022).

Description

Noticed errors like

2022/05/27 15:55:56 ...git/notes_nogogit.go:50:GetNote() [E] Unable to find git note corresponding to the commit "***". Error: object does not exist [id: , rel_path: 58]

in gitea 1.16.3 (built from sources) log.

Fix from similar issue https://github.com/go-gitea/gitea/issues/18616 is already applied in 1.16.3.

Gitea Version

1.16.3

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?

Build from sources.

Database

MySQL

Originally created by @pboguslawski on GitHub (May 27, 2022). ### Description Noticed errors like ``` 2022/05/27 15:55:56 ...git/notes_nogogit.go:50:GetNote() [E] Unable to find git note corresponding to the commit "***". Error: object does not exist [id: , rel_path: 58] ``` in gitea 1.16.3 (built from sources) log. Fix from similar issue https://github.com/go-gitea/gitea/issues/18616 is already applied in 1.16.3. ### Gitea Version 1.16.3 ### 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? Build from sources. ### Database MySQL
GiteaMirror added the type/bug label 2025-11-02 08:25:32 -06:00
Author
Owner

@lunny commented on GitHub (Jun 4, 2022):

So you mean #18616 has been fixed?

@lunny commented on GitHub (Jun 4, 2022): So you mean #18616 has been fixed?
Author
Owner

@pboguslawski commented on GitHub (Jun 4, 2022):

Yes, it can see fix

https://github.com/go-gitea/gitea/pull/18635/files

is already present in 1.16.3

https://github.com/go-gitea/gitea/blame/v1.16.3/modules/git/notes_nogogit.go#L24

and this error was thrown by 1.16.3 so looks like one more bug.

@pboguslawski commented on GitHub (Jun 4, 2022): Yes, it can see fix https://github.com/go-gitea/gitea/pull/18635/files is already present in 1.16.3 https://github.com/go-gitea/gitea/blame/v1.16.3/modules/git/notes_nogogit.go#L24 and this error was thrown by 1.16.3 so looks like one more bug.
Author
Owner

@zeripath commented on GitHub (Jun 4, 2022):

This is just a spurious logging line and can be safely ignored. #19884 will finally stop it.

@zeripath commented on GitHub (Jun 4, 2022): This is just a spurious logging line and can be safely ignored. #19884 will finally stop it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9003