1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-04 03:21:21 +02:00
gitea/vendor/code.gitea.io/git
Peter Hoffmann e08c7e521b Add raw blob endpoint to get objects by SHA ID (#5334)
* Add raw blob endpoint

This should make it possible to download raw blobs directly from
/:repo/:username/raw/blob/:sha1 URLs.

* fix: Make it work

* As an SHA-ID is no path getRefNameFromPath can't be used to verify
file specifying parameter
* added relevant change in go-gitea/git #132

Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>

* Update Gopkg.lock

Can't update all vendors due to errors

Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>

* style: Add Gitea copyright header

* feat: Added integration test for /repo/u/r/raw/blob

* fix: correct year in copyright header
2018-11-18 13:45:40 -05:00
..
blob.go
command.go
commit_archive.go
commit_info.go
commit.go
doc.go
error.go
git.go
hook.go
LICENSE
parse.go
repo_blame.go
repo_blob.go Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
repo_branch.go
repo_commit.go
repo_hook.go
repo_object.go
repo_pull.go
repo_tag.go
repo_tree.go
repo.go
sha1.go
signature.go
submodule.go
tag.go
tree_blob.go
tree_entry.go
tree.go
utils.go