gitea/modules/git
Filip Navara b83114f140 Fix one performance/correctness regression in #6478 found on Rails repository. (#6686)
* Fix flaw in the commit history lookup that caused unnecessary traversal
when the repository contains a lot of merge commits.

Also return the merge commit as the changed one if the file or
directory was changed as part of the merge, eg. through conflict
resolution.

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

* Perform history simplification. If a file is present on multiple parents
in a merge commit follow only the first parent.
2019-04-21 16:49:06 +08:00
..
tests/repos/repo1_bare
blob_test.go
blob.go
cache.go
command_test.go
command.go
commit_archive.go
commit_info_test.go
commit_info.go Fix one performance/correctness regression in #6478 found on Rails repository. (#6686) 2019-04-21 16:49:06 +08:00
commit_test.go
commit.go
error.go
git.go
hook.go
parse_test.go
parse.go
README.md
ref.go
repo_blame.go
repo_blob_test.go
repo_blob.go
repo_branch_test.go
repo_branch.go
repo_commit_test.go
repo_commit.go
repo_hook.go
repo_object.go
repo_pull_test.go
repo_pull.go
repo_ref_test.go
repo_ref.go
repo_tag_test.go
repo_tag.go
repo_test.go
repo_tree.go
repo.go
sha1.go
signature.go
submodule_test.go
submodule.go
tag.go
tree_blob.go
tree_entry_test.go
tree_entry.go
tree.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.