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.
forgejo/modules/repository
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>
2 years ago
..
commits.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
commits_test.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
create.go Move some code into models/git (#19879) 2 years ago
create_test.go Move some repository related code into sub package (#19711) 2 years ago
delete.go Move some repository related code into sub package (#19711) 2 years ago
env.go Move some helper files out of models (#19355) 2 years ago
fork.go Move some repository related code into sub package (#19711) 2 years ago
generate.go Move some code into models/git (#19879) 2 years ago
generate_test.go Move some repository related code into sub package (#19711) 2 years ago
hooks.go format with gofumpt (#18184) 2 years ago
init.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
main_test.go Use a struct as test options (#19393) 2 years ago
push.go Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
repo.go Move some code into models/git (#19879) 2 years ago
temp.go Move some helper files out of models (#19355) 2 years ago