forgejo/modules/git
Filip Navara dbb0c9658c Fix #6813: Allow git.GetTree to take both commit and tree names (#6816)
* Allow git.GetTree to take both commit and tree names, return full paths on entries listed through Tree.ListEntriesRecursive

Signed-off-by: Filip Navara <filip.navara@gmail.com>

* Fix the SHA returned on Git Tree APIs called with commit hash or symbolic name

Signed-off-by: Filip Navara <filip.navara@gmail.com>
2019-05-02 20:33:11 -04:00
..
tests/repos/repo1_bare
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_test.go
error.go
git.go
hook.go
parse.go
parse_test.go
README.md
ref.go
repo.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_hook.go
repo_object.go
repo_pull.go
repo_pull_test.go
repo_ref.go
repo_ref_test.go
repo_tag.go
repo_tag_test.go
repo_test.go
repo_tree.go Fix #6813: Allow git.GetTree to take both commit and tree names (#6816) 2019-05-02 20:33:11 -04:00
sha1.go
signature.go
submodule.go
submodule_test.go
tag.go
tree.go Fix #6813: Allow git.GetTree to take both commit and tree names (#6816) 2019-05-02 20:33:11 -04:00
tree_blob.go
tree_entry.go Fix #6813: Allow git.GetTree to take both commit and tree names (#6816) 2019-05-02 20:33:11 -04:00
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.