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 Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
blob_test.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
cache.go
command.go Pre-calculate the absolute path of git (#6575) 2019-04-17 14:11:37 +03:00
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 Remove seen map from getLastCommitForPaths (#6807) 2019-04-30 16:27:41 +03:00
commit_info_test.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
commit_test.go
error.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
git.go Pre-calculate the absolute path of git (#6575) 2019-04-17 14:11:37 +03:00
hook.go
parse.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
parse_test.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
README.md
ref.go
repo.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
repo_blame.go
repo_blob.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
repo_blob_test.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
repo_branch.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
repo_branch_test.go
repo_commit.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
repo_commit_test.go
repo_hook.go
repo_object.go
repo_pull.go Prevent server 500 on compare branches with no common history (#6555) 2019-04-09 21:45:58 +01:00
repo_pull_test.go
repo_ref.go
repo_ref_test.go
repo_tag.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
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 Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
signature.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
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 Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
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 Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
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.