mrsdizzie
41fd1d87bb
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
2019-06-03 23:11:19 +08:00
Lunny Xiao
6058bf85ca
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
2019-03-27 17:33:00 +08:00
Unknwon
0638ee1b76
move out git module and #1573 send push hook
2015-12-09 20:46:05 -05:00
Unknwon
01db8ff533
rename fields
2015-11-03 22:49:06 -05:00
Matthias Pioch
57b773896b
fix workaround for reverse proxy, ssh, submodule
2015-10-24 22:46:13 +02:00
Matthias Pioch
268747b74c
workaround for reverse proxy, ssh, submodule
2015-10-24 22:03:08 +02:00
Filippo Valsorda
0d8a70e957
Handle submodules without a .gitmodules entry - fix #1023
2015-03-10 03:08:17 +00:00
Unknwon
3f707b3f32
Add basic submodule support
2014-09-22 17:01:19 -04:00
lunnyxiao
150eef93b2
add submodule basic support & buf fixed #478
2014-09-22 10:43:16 +08:00