0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-29 15:44:35 +01:00
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.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
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 Fix one performance/correctness regression in #6478 found on Rails repository. (#6686) 2019-04-21 16:49:06 +08: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
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
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 Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08: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 Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
tree_blob.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
tree_entry.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08: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.