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/services/repository/files
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930)
* clean git support for ver < 2.0

* fine tune tests for markup (which requires git module)

* remove unnecessary comments

* try to fix tests

* try test again

* use const for GitVersionRequired instead of var

* try to fix integration test

* Refactor CheckAttributeReader to make a *git.Repository version

* update document for commit signing with Gitea's internal gitconfig

* update document for commit signing with Gitea's internal gitconfig

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
..
cherry_pick.go
commit.go Move some code into models/git (#19879) 3 years ago
content.go RepoAssignment ensure to close before overwrite (#19449) 3 years ago
content_test.go RepoAssignment ensure to close before overwrite (#19449) 3 years ago
delete.go
diff.go
diff_test.go Calculate filename hash only once (#19654) 3 years ago
file.go
file_test.go Make git.OpenRepository accept Context (#19260) 3 years ago
patch.go Move some code into models/git (#19879) 3 years ago
temp_repo.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 3 years ago
tree.go
tree_test.go
update.go Move some code into models/git (#19879) 3 years ago
upload.go Move some code into models/git (#19879) 3 years ago