forked from gitea/gitea
1
0
Fork 0
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>
2022-06-16 23:47:44 +08:00
..
cherry_pick.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
commit.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
content.go RepoAssignment ensure to close before overwrite (#19449) 2022-04-21 17:17:57 +02:00
content_test.go RepoAssignment ensure to close before overwrite (#19449) 2022-04-21 17:17:57 +02:00
delete.go Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
diff.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
diff_test.go Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
file.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
file_test.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
patch.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
temp_repo.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
tree.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
tree_test.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
update.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
upload.go Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00