Mura Li
f88aa1d215
Support git.PATH entry in app.ini ( #6772 )
2019-07-07 03:26:56 -04:00
Lunny Xiao
d741316aae
add commitgraph support global default true when git version >= 2.18 ( #7313 )
2019-06-29 12:46:25 +01:00
Lunny Xiao
8ec659722d
Only check and config git on web subcommand but not others ( #7236 )
...
* only check and config git on web subcommand but not others
* add Init in git tests
2019-06-19 19:53:37 +03:00
Lunny Xiao
710245e81e
Refactor models.NewRepoContext to extract git related codes to modules/git ( #6941 )
...
* refactor models.NewRepoContext to extract git related codes to modules/git
* fix imports
* refactor
2019-05-15 09:57:00 +08:00
Mura Li
2a9806bfc6
Pre-calculate the absolute path of git ( #6575 )
...
* 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.
2019-04-17 14:11:37 +03:00
Lunny Xiao
d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git ( #6364 )
...
* 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
2019-03-27 17:33:00 +08:00