You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
5 years ago
..
tests/repos/repo1_bare Show git-notes (#6984) 5 years ago
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
blob.go Improve listing performance by using go-git (#6478) 5 years ago
blob_test.go Improve listing performance by using go-git (#6478) 5 years ago
cache.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
command.go Remove local clones & make hooks run on merge/edit/upload (#6672) 5 years ago
command_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
commit.go Improve listing performance by using go-git (#6478) 5 years ago
commit_archive.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
commit_info.go Remove `seen` map from `getLastCommitForPaths` (#6807) 5 years ago
commit_info_test.go Improve listing performance by using go-git (#6478) 5 years ago
commit_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
error.go Improve listing performance by using go-git (#6478) 5 years ago
git.go Refactor models.NewRepoContext to extract git related codes to modules/git (#6941) 5 years ago
hook.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
notes.go Show git-notes (#6984) 5 years ago
notes_test.go Show git-notes (#6984) 5 years ago
parse.go Improve listing performance by using go-git (#6478) 5 years ago
parse_test.go Improve listing performance by using go-git (#6478) 5 years ago
ref.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo.go Remove local clones & make hooks run on merge/edit/upload (#6672) 5 years ago
repo_blame.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_blob.go Improve listing performance by using go-git (#6478) 5 years ago
repo_blob_test.go Improve listing performance by using go-git (#6478) 5 years ago
repo_branch.go Remove local clones & make hooks run on merge/edit/upload (#6672) 5 years ago
repo_branch_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_commit.go Improve listing performance by using go-git (#6478) 5 years ago
repo_commit_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_hook.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_index.go Remove local clones & make hooks run on merge/edit/upload (#6672) 5 years ago
repo_object.go Remove local clones & make hooks run on merge/edit/upload (#6672) 5 years ago
repo_pull.go Prevent server 500 on compare branches with no common history (#6555) 5 years ago
repo_pull_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_ref.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_ref_test.go Show git-notes (#6984) 5 years ago
repo_stats.go Git statistics in Activity tab (#4724) 5 years ago
repo_stats_test.go Git statistics in Activity tab (#4724) 5 years ago
repo_tag.go Improve listing performance by using go-git (#6478) 5 years ago
repo_tag_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
repo_tree.go Remove local clones & make hooks run on merge/edit/upload (#6672) 5 years ago
sha1.go Improve listing performance by using go-git (#6478) 5 years ago
signature.go Improve listing performance by using go-git (#6478) 5 years ago
submodule.go Refactor submodule URL parsing (#7100) 5 years ago
submodule_test.go Refactor submodule URL parsing (#7100) 5 years ago
tag.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
tree.go Fix #6813: Allow git.GetTree to take both commit and tree names (#6816) 5 years ago
tree_blob.go Do not attempt to return blob on submodule (#6996) 5 years ago
tree_entry.go Fix #6813: Allow git.GetTree to take both commit and tree names (#6816) 5 years ago
tree_entry_test.go Improve listing performance by using go-git (#6478) 5 years ago
utils.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago

README.md

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.