zeripath
f790adae57
On windows set core.longpaths true ( #8776 )
5 years ago
Mura Li
fa0108894a
Support git.PATH entry in app.ini ( #6772 )
6 years ago
Lunny Xiao
93ae4ae9ac
add commitgraph support global default true when git version >= 2.18 ( #7313 )
6 years ago
Lunny Xiao
309515b41b
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
6 years ago
Lunny Xiao
6eee9deb06
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
6 years ago
Mura Li
7046125dbd
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.
6 years ago
Lunny Xiao
f47714c501
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
6 years ago