Files
forgejo/modules/git
Gusted f9a6460cec chore: simplify GetNote (#9985)
Return the Note object (avoid C-style functions).

Motivation to refactor this function is to avoid the function that uses last commit cache for git-notes, because it is not needed at the scale of git-notes. In the worst case it can be considered to make a patch to git to get the message and commitID, because git seems to have efficient code to do this (for getting messages, but does not expose the commit id).

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9985
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-11-06 13:23:35 +01:00
..
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-11-06 13:23:35 +01:00
2025-11-06 13:23:35 +01:00
2025-01-19 09:42:57 +01:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-01-31 10:43:29 +01:00

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.