6543
3e88af898a
Make git.OpenRepository accept Context ( #19260 )
...
* OpenRepositoryCtx -> OpenRepository
* OpenRepository -> openRepositoryWithDefaultContext, only for internal usage
3 years ago
Lauris BH
81cfe243f9
Add top author stats to activity page ( #9615 )
5 years ago
zeripath
722a7c902d
Add Close() method to gogitRepository ( #8901 )
...
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
5 years ago
Christian Muehlhaeuser
5e4e7d3df0
Added missing error checks in tests ( #7554 )
...
Whenever we assign a value to err, check for it being nil.
5 years ago
silverwind
fe7689a6b2
Fix empty commits now showing in repo overview ( #7521 )
...
* Fix empty commits now showing in repo overview
* add test
* make fmt
5 years ago
Lauris BH
1fa9662946
Git statistics in Activity tab ( #4724 )
...
* Initial implementation for git statistics in Activity tab
* Create top user by commit count endpoint
* Add UI and update src-d/go-git dependency
* Add coloring
* Fix typo
* Move git activity stats data extraction to git module
* Fix message
* Add git code stats test
6 years ago