forgejo/modules/git
Richard Mahn 8de0b0a3f0 Fixes #2738 - Adds the /git/tags API endpoint (#7138)
* Fixes #2738 - /git/tags API

* proper URLs

* Adds function comments

* Updates swagger

* Removes newline from tag message

* Removes trailing newline from commit message

* Adds integration test

* Removed debugging

* Adds tests

* Fixes bug where multiple tags of same commit show wrong tag name

* Fix formatting

* Removes unused varaible

* Fix to annotated tag function names and response

* Update modules/git/repo_tag.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* Uses TagPrefix

* Changes per review, better error handling for getting tag and commit IDs

* Fix to getting commit ID

* Fix to getting commit ID

* Fix to getting commit ID

* Fix to getting commit ID
2019-06-08 17:31:11 +03:00
..
tests/repos/repo1_bare
blob.go
blob_test.go
cache.go
command.go
command_test.go
commit.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
commit_archive.go
commit_info.go
commit_info_test.go
commit_test.go
error.go
git.go
hook.go
notes.go
notes_test.go
parse.go
parse_test.go
README.md
ref.go
repo.go
repo_blame.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
repo_blob.go
repo_blob_test.go
repo_branch.go Remove local clones & make hooks run on merge/edit/upload (#6672) 2019-05-11 11:29:17 -04:00
repo_branch_test.go
repo_commit.go
repo_commit_test.go
repo_compare.go Compare branches, commits and tags with each other (#6991) 2019-06-07 16:29:29 -04:00
repo_compare_test.go
repo_hook.go
repo_index.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

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.