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
5 years ago
Morlinest
8e61823ec4
Fix tests code to prevent some runtime errors (#2381)
* Fix tests code to prevent some runtime errors
* Reduce nesting
6 years ago
Lunny Xiao
cd1821a7e2
Move push update to post-receive and protected branch check to pre-receive (#1030)
* move all push update to git hook post-receive and protected branch check to git hook pre-receive
* add SSH_ORIGINAL_COMMAND check back
* remove all unused codes
* fix the import
7 years ago
Ethan Koenig
8093b3372e
Less boilerplate in models/ unit tests (#725)
7 years ago
Ethan Koenig
862948ab88
Better coverage and TODOs for update_test (#616)
7 years ago
Ethan Koenig
de8b73dd92
Unit tests for token and update models
7 years ago