Files
gitocean/modules/git
GustedandGusted 270a2c7fa3 chore: remove usages of sort.Sort (#6689)
improve language stats rounding:

- Add tests (I had to omit some edge cases as the current method is
non-determistic in some cases, due to random order of map access).
- Document the algorithm used.
- Lower the amount of calculations that need to be done.
- Because of the aforementioned non-determistic don't use stable sort
and instead regular sort.

better sorting for `RepositoryList`:

- Add testing
- Use `slices.Sortfunc` instead of `sort.Sort`.
- Remove the methods needed for `sort.Sort`.

better git tag sorter:

- Use `slices.SortFunc` instead of `sort.Sort`.
- Remove `tagSorter` and its related methods.
- Added testing.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6689
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-01-26 13:30:00 +00:00
..
2024-02-26 22:30:27 +01:00
2024-11-24 11:00:06 +00:00
2024-10-09 09:28:37 +00:00
2024-08-18 16:25:13 +02:00
2024-08-12 19:11:09 +02:00
2024-08-12 19:11:09 +02:00
2025-01-19 09:42:57 +01:00
2023-07-12 19:07:29 +02:00
2024-11-05 09:33:15 +01:00
2024-08-12 19:11:09 +02:00
2024-08-12 19:11:09 +02:00
2024-08-12 19:11:09 +02:00
2024-08-12 19:11:09 +02: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.