1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-20 14:54:58 +01:00
gitea/modules/git
mrsdizzie 489c8a1478
Compare SSH_DOMAIN when parsing submodule URLs (#12753)
Right now we only compare the hostname from a submodule with the prefixURL it is viewed from to check if the submodule is hosted on the same Gitea instance. This adds an additional check to compare it against SSH_DOMAIN as well since the same Gitea instance might have a different hostname for SSH and if the submodule uses that hostname we should also detect that and link to the proper DOMAIN value.

Fixes #12747, #9756
2020-09-07 20:08:10 -04:00
..
pipeline
tests/repos
blame_test.go
blame.go
blob_test.go
blob.go
cache.go
command_test.go
command.go refactor repo_stats to use os.pipe (#11726) 2020-09-05 16:12:14 -04:00
commit_archive.go Set context for running CreateArchive in to that of the request (#12555) 2020-08-28 09:55:12 +03:00
commit_info_test.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
commit_info.go
commit_reader.go
commit_test.go
commit.go [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
diff_test.go
diff.go
error.go
git_test.go
git.go [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
hook.go fix typos (#12545) 2020-08-20 18:41:08 +01:00
notes_test.go
notes.go
parse_test.go
parse.go
README.md
ref.go
repo_attribute.go [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
repo_blame.go
repo_blob_test.go
repo_blob.go
repo_branch_test.go
repo_branch.go
repo_commit_test.go
repo_commit.go [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
repo_commitgraph.go
repo_compare_test.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
repo_compare.go
repo_gpg.go
repo_hook.go
repo_index.go
repo_language_stats.go
repo_object.go
repo_ref_test.go
repo_ref.go
repo_stats_test.go
repo_stats.go refactor repo_stats to use os.pipe (#11726) 2020-09-05 16:12:14 -04:00
repo_tag_test.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
repo_tag.go [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
repo_test.go
repo_tree.go [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
repo.go
sha1.go
signature.go
submodule_test.go Compare SSH_DOMAIN when parsing submodule URLs (#12753) 2020-09-07 20:08:10 -04:00
submodule.go Compare SSH_DOMAIN when parsing submodule URLs (#12753) 2020-09-07 20:08:10 -04:00
tag.go
tree_blob.go
tree_entry_test.go
tree_entry.go
tree.go
utils_test.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.