66a9ef9036
* Properly generate ref URLs Tags used to not generate correct URLs (src/branch/tags/1.0.0 instead of src/tags/1.0.0). Also cleans up some code around it with the created helper functions. * Fix formatting and create migration * Add copyright head to utils_test * Use a raw query for the ref migration * Remove semicolon * Quote column and table names in migration SQL * Change || to CONCAT, since MSSQL does not support || * Make migration engine aware * Add missing import * Move ref EndName and URL to the issue service * Fix tests * Add test for commit refs * Update issue.go * Use the right command for building JavaScript bundles * Prepare for merge * Check for refs/* before prepending in migration * Update services/issue/issue_test.go * Update modules/git/utils_test.go Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: techknowlogick <matti@mdranta.net> |
||
---|---|---|
.. | ||
pipeline | ||
tests/repos | ||
blame.go | ||
blame_test.go | ||
blob.go | ||
blob_test.go | ||
cache.go | ||
command.go | ||
command_test.go | ||
commit.go | ||
commit_archive.go | ||
commit_info.go | ||
commit_info_test.go | ||
commit_reader.go | ||
commit_test.go | ||
diff.go | ||
diff_test.go | ||
error.go | ||
git.go | ||
git_test.go | ||
hook.go | ||
notes.go | ||
notes_test.go | ||
parse.go | ||
parse_test.go | ||
README.md | ||
ref.go | ||
repo.go | ||
repo_attribute.go | ||
repo_blame.go | ||
repo_blob.go | ||
repo_blob_test.go | ||
repo_branch.go | ||
repo_branch_test.go | ||
repo_commit.go | ||
repo_commit_test.go | ||
repo_commitgraph.go | ||
repo_compare.go | ||
repo_compare_test.go | ||
repo_gpg.go | ||
repo_hook.go | ||
repo_index.go | ||
repo_language_stats.go | ||
repo_object.go | ||
repo_ref.go | ||
repo_ref_test.go | ||
repo_stats.go | ||
repo_stats_test.go | ||
repo_tag.go | ||
repo_tag_test.go | ||
repo_test.go | ||
repo_tree.go | ||
sha1.go | ||
signature.go | ||
submodule.go | ||
submodule_test.go | ||
tag.go | ||
tree.go | ||
tree_blob.go | ||
tree_entry.go | ||
tree_entry_test.go | ||
utils.go | ||
utils_test.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.