You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/git
Adam Majer d68a613ba8
Add support for sha256 repositories (#23894)
Currently only SHA1 repositories are supported by Gitea. This adds
support for alternate SHA256 with the additional aim of easier support
for additional hash types in the future.

Fixes: #13794
Limited by: https://github.com/go-git/go-git/issues/899
Depend on: #28138

<img width="776" alt="图片" src="https://github.com/go-gitea/gitea/assets/81045/5448c9a7-608e-4341-a149-5dd0069c9447">

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
1 year ago
..
branch.go Fix schedule tasks bugs (#28691) 1 year ago
branch_list.go Second part of refactor `db.Find` (#28194) 1 year ago
branch_test.go Fix schedule tasks bugs (#28691) 1 year ago
commit_status.go Add support for sha256 repositories (#23894) 1 year ago
commit_status_test.go Add testing for CalcCommitStatus (#28823) 1 year ago
lfs.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
lfs_lock.go Introduce path Clean/Join helper functions (#23495) 2 years ago
main_test.go make writing main test easier (#27270) 1 year ago
protected_banch_list_test.go Fix branch protection priority (#24045) 2 years ago
protected_branch.go Add branch protection setting for ignoring stale approvals (#28498) 1 year ago
protected_branch_list.go Sync branches into databases (#22743) 2 years ago
protected_branch_test.go Supports wildcard protected branch (#20825) 2 years ago
protected_tag.go Refactor some legacy code and remove unused code (#28622) 1 year ago
protected_tag_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago