gitea/modules/git
zeripath 05f266c331
Fix ambiguous argument error on tags (#15432) (#15475)
Backport #15432

There is a weird gotcha with GetTagCommitID that because it uses git rev-list
can cause an ambiguous argument error.

This PR simply makes tags use the same code as branches.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-04-14 19:52:55 +01:00
..
pipeline
tests/repos
blame_test.go
blame.go Prevent panic on git blame by limiting lines to 4096 bytes at most (#13491) 2020-11-10 08:00:20 +00:00
blob_test.go
blob.go
cache.go
command_test.go
command.go Always wait for the cmd to finish (#14006) (#14039) 2020-12-17 21:06:51 +01: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
commit_info.go Cache last commit when pushing for big repository (#10109) 2020-10-09 01:17:23 +03:00
commit_reader.go
commit_test.go
commit.go HasPreviousCommit causes recursive load of commits unnecessarily (#14598) (#14649) 2021-02-15 00:44:26 +02:00
diff_test.go Fix a couple of CommentAsPatch issues. (#14804) (#14820) 2021-02-28 15:19:51 +02:00
diff.go response 404 for diff/patch of a commit that not exist (#15221) (#15238) 2021-04-02 04:30:14 +01:00
error.go
git_test.go
git.go Migrations: Use Process Manager to create own Context (#13793) 2020-12-02 15:11:11 -06:00
hook.go Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
notes_test.go
notes.go Cache last commit when pushing for big repository (#10109) 2020-10-09 01:17:23 +03:00
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 Adopt repositories (#12920) 2020-09-25 07:09:23 +03:00
repo_commit_test.go
repo_commit.go Fix ambiguous argument error on tags (#15432) (#15475) 2021-04-14 19:52:55 +01:00
repo_commitgraph.go
repo_compare_test.go
repo_compare.go
repo_gpg.go
repo_hook.go
repo_index.go
repo_language_stats.go Speed up enry.IsVendor (#15213) (#15246) 2021-04-02 00:50:12 +02:00
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
repo_tag.go [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
repo_test.go
repo_tree.go Add configurable Trust Models (#11712) 2020-09-20 00:44:55 +08:00
repo.go Migrations: Use Process Manager to create own Context (#13793) 2020-12-02 15:11:11 -06:00
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 Fix 500 on README in submodule (#13006) 2020-10-02 09:27:44 -04:00
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.