mrsdizzie
85ad79c80b
Refactor submodule URL parsing ( #7100 )
Use combination of url.Parse and regex to parse refURL rather than by
hand with indexes & attempt to check if refURL is from same instance and
adjust output to match.
Also now return empty string instead of our original
guess at URL if we are unable to parse it.
Fixes #1526
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
Unknwon
7c3baef786
move out git module and #1573 send push hook
9 years ago
Unknwon
12cad18886
rename fields
9 years ago
Matthias Pioch
a33352a8e0
fix workaround for reverse proxy, ssh, submodule
9 years ago
Matthias Pioch
46faac0c6b
workaround for reverse proxy, ssh, submodule
9 years ago
Filippo Valsorda
0d8a70e957
Handle submodules without a .gitmodules entry - fix #1023
10 years ago
Unknwon
3f707b3f32
Add basic submodule support
10 years ago
lunnyxiao
150eef93b2
add submodule basic support & buf fixed #478
10 years ago