0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-26 21:55:43 +01:00
gitea/modules/git
mrsdizzie 2ac2a5b0ba 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
..
tests/repos/repo1_bare
blob_test.go
blob.go
cache.go
command_test.go
command.go
commit_archive.go
commit_info_test.go
commit_info.go
commit_test.go
commit.go
error.go
git.go
hook.go
notes_test.go
notes.go
parse_test.go
parse.go
README.md
ref.go
repo_blame.go
repo_blob_test.go
repo_blob.go
repo_branch_test.go
repo_branch.go
repo_commit_test.go
repo_commit.go
repo_hook.go
repo_index.go
repo_object.go
repo_pull_test.go
repo_pull.go
repo_ref_test.go
repo_ref.go
repo_stats_test.go
repo_stats.go
repo_tag_test.go
repo_tag.go
repo_test.go
repo_tree.go
repo.go
sha1.go
signature.go
submodule_test.go Refactor submodule URL parsing (#7100) 2019-06-03 23:11:19 +08:00
submodule.go Refactor submodule URL parsing (#7100) 2019-06-03 23:11:19 +08:00
tag.go
tree_blob.go
tree_entry_test.go
tree_entry.go
tree.go
utils.go

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.