zeripath
fb5af37b3e
Add Close() method to gogitRepository ( #8901 ) ( #8958 )
...
Backport #8901 - Adjusted slightly for 1.9
In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.
This PR adds this Close function and adds the Close functions as necessary.
In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.
Fixes #7947
6 years ago
Richard Mahn
103a66ae83
Fixes #7564 - Malformed URLs in API git/commits response ( #7565 ) ( #7567 )
6 years ago
Lunny Xiao
34eee25bd4
Move sdk structs to modules/structs ( #6905 )
...
* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor
6 years ago
John Olheiser
cb64b21a7f
Change summary to full message ( #6591 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
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
Richard Mahn
ecce28f9df
Updates SDK dep ( #6406 )
6 years ago
Lunny Xiao
ecefa9e724
Add single commit API support ( #5843 )
...
* add single commit API support
7 years ago