1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-05 13:58:12 +00:00
Files
gitea/modules/git/repo.go
John Olheiser 76bbad4e74 Check for sha256 support to use --object-format flag (#28928)
This should fix https://github.com/go-gitea/gitea/issues/28927

Technically older versions of Git would support this flag as well, but
per https://github.com/go-gitea/gitea/pull/28466 that's the version
where using it (object-format=sha256) left "experimental" state.

`sha1` is (currently) the default, so older clients should be unaffected
in either case.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2024-01-25 13:04:50 -05:00

9.5 KiB