Commit Graph

7 Commits (aa178176db3a8b6f23208847f96e846e84edca38)

Author SHA1 Message Date
zeripath 9d663dfde6 On windows set core.longpaths true ()
Mura Li f88aa1d215 Support git.PATH entry in app.ini ()
Lunny Xiao d741316aae add commitgraph support global default true when git version >= 2.18 ()
Lunny Xiao 8ec659722d Only check and config git on web subcommand but not others ()
* only check and config git on web subcommand but not others

* add Init in git tests
Lunny Xiao 710245e81e
Refactor models.NewRepoContext to extract git related codes to modules/git ()
* refactor models.NewRepoContext to extract git related codes to modules/git

* fix imports

* refactor
Mura Li 2a9806bfc6 Pre-calculate the absolute path of git ()
* Pre-caculate the absolute path of git

* Do not repeat string literals which has been defined somewhere

Also make it flexible to accept customized/user-defined value.
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
* move code.gitea.io/git to code.gitea.io/gitea/modules/git

* fix imports

* fix fmt

* fix misspell

* remove wrong tests data

* fix unit tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* enable Debug to trace the failure tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* comment commit count tests since git clone depth is 50

* fix tests

* update from code.gitea.io/git

* revert change to makefile