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
5 years ago
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
6 years ago
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.
6 years ago
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
6 years ago
Duncan Ogilvie
551f3cbe42
Memory usage improvements ( #3013 )
...
* govendor update code.gitea.io/git
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
* Greatly improve memory usage
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
7 years ago
Lunny Xiao
91d64656a4
update git which fixes #1133 ( #1614 )
8 years ago
Lunny Xiao
47a7529d96
update code.gitea.io/git ( #450 )
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Sandro Santilli
6e4252dad4
Replace gogits/git-module dependency with go-gitea/git ( #94 )
...
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
8 years ago
Thomas Boerger
1ebb35b988
Added all required dependencies
8 years ago