mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 05:13:59 +01:00
2af67f6044
* Use go-git for tree reading and commit info lookup. Signed-off-by: Filip Navara <navara@emclient.com> * Use TreeEntry.IsRegular() instead of ObjectType that was removed. Signed-off-by: Filip Navara <navara@emclient.com> * Use the treePath to optimize commit info search. Signed-off-by: Filip Navara <navara@emclient.com> * Extract the latest commit at treePath along with the other commits. Signed-off-by: Filip Navara <navara@emclient.com> * Fix listing commit info for a directory that was created in one commit and never modified after. Signed-off-by: Filip Navara <navara@emclient.com> * Avoid nearly all external 'git' invocations when doing directory listing (.editorconfig code path is still hit). Signed-off-by: Filip Navara <navara@emclient.com> * Use go-git for reading blobs. Signed-off-by: Filip Navara <navara@emclient.com> * Make SHA1 type alias for plumbing.Hash in go-git. Signed-off-by: Filip Navara <navara@emclient.com> * Make Signature type alias for object.Signature in go-git. Signed-off-by: Filip Navara <navara@emclient.com> * Fix GetCommitsInfo for repository with only one commit. Signed-off-by: Filip Navara <navara@emclient.com> * Fix PGP signature verification. Signed-off-by: Filip Navara <navara@emclient.com> * Fix issues with walking commit graph across merges. Signed-off-by: Filip Navara <navara@emclient.com> * Fix typo in condition. Signed-off-by: Filip Navara <navara@emclient.com> * Speed up loading branch list by keeping the repository reference (and thus all the loaded packfile indexes). Signed-off-by: Filip Navara <navara@emclient.com> * Fix lising submodules. Signed-off-by: Filip Navara <navara@emclient.com> * Fix build Signed-off-by: Filip Navara <navara@emclient.com> * Add back commit cache because of name-rev Signed-off-by: Filip Navara <navara@emclient.com> * Fix tests Signed-off-by: Filip Navara <navara@emclient.com> * Fix code style * Fix spelling * Address PR feedback Signed-off-by: Filip Navara <navara@emclient.com> * Update vendor module list Signed-off-by: Filip Navara <navara@emclient.com> * Fix getting trees by commit id Signed-off-by: Filip Navara <navara@emclient.com> * Fix remaining unit test failures * Fix GetTreeBySHA * Avoid running `git name-rev` if not necessary Signed-off-by: Filip Navara <navara@emclient.com> * Move Branch code to git module * Clean up GPG signature verification and fix it for tagged commits * Address PR feedback (import formatting, copyright headers) * Make blob lookup by SHA working * Update tests to use public API * Allow getting content from any type of object through the blob interface * Change test to actually expect the object content that is in the GIT repository * Change one more test to actually expect the object content that is in the GIT repository * Add comments |
||
---|---|---|
.. | ||
fixtures | ||
migrations | ||
access.go | ||
access_test.go | ||
action.go | ||
action_list.go | ||
action_test.go | ||
admin.go | ||
admin_test.go | ||
attachment.go | ||
attachment_test.go | ||
branches.go | ||
branches_test.go | ||
consistency.go | ||
error.go | ||
error_oauth2.go | ||
external_login_user.go | ||
git_diff.go | ||
git_diff_test.go | ||
gpg_key.go | ||
gpg_key_test.go | ||
graph.go | ||
graph_test.go | ||
helper.go | ||
issue.go | ||
issue_assignees.go | ||
issue_assignees_test.go | ||
issue_comment.go | ||
issue_comment_list.go | ||
issue_comment_test.go | ||
issue_dependency.go | ||
issue_dependency_test.go | ||
issue_label.go | ||
issue_label_test.go | ||
issue_list.go | ||
issue_list_test.go | ||
issue_lock.go | ||
issue_mail.go | ||
issue_milestone.go | ||
issue_milestone_test.go | ||
issue_reaction.go | ||
issue_reaction_test.go | ||
issue_stopwatch.go | ||
issue_stopwatch_test.go | ||
issue_test.go | ||
issue_tracked_time.go | ||
issue_tracked_time_test.go | ||
issue_user.go | ||
issue_user_test.go | ||
issue_watch.go | ||
issue_watch_test.go | ||
lfs.go | ||
lfs_lock.go | ||
login_source.go | ||
mail.go | ||
main_test.go | ||
models.go | ||
models_sqlite.go | ||
models_test.go | ||
notification.go | ||
notification_test.go | ||
oauth2.go | ||
oauth2_application.go | ||
oauth2_application_test.go | ||
org.go | ||
org_team.go | ||
org_team_test.go | ||
org_test.go | ||
pull.go | ||
pull_test.go | ||
release.go | ||
release_test.go | ||
repo.go | ||
repo_activity.go | ||
repo_branch.go | ||
repo_collaboration.go | ||
repo_collaboration_test.go | ||
repo_indexer.go | ||
repo_issue.go | ||
repo_list.go | ||
repo_list_test.go | ||
repo_mirror.go | ||
repo_permission.go | ||
repo_permission_test.go | ||
repo_redirect.go | ||
repo_redirect_test.go | ||
repo_tag.go | ||
repo_test.go | ||
repo_unit.go | ||
repo_watch.go | ||
repo_watch_test.go | ||
review.go | ||
review_test.go | ||
ssh_key.go | ||
ssh_key_test.go | ||
star.go | ||
star_test.go | ||
status.go | ||
status_test.go | ||
test_fixtures.go | ||
token.go | ||
token_test.go | ||
topic.go | ||
topic_test.go | ||
twofactor.go | ||
u2f.go | ||
u2f_test.go | ||
unit.go | ||
unit_tests.go | ||
update.go | ||
update_test.go | ||
upload.go | ||
user.go | ||
user_follow.go | ||
user_follow_test.go | ||
user_heatmap.go | ||
user_heatmap_test.go | ||
user_mail.go | ||
user_mail_test.go | ||
user_openid.go | ||
user_openid_test.go | ||
user_test.go | ||
webhook.go | ||
webhook_dingtalk.go | ||
webhook_discord.go | ||
webhook_slack.go | ||
webhook_telegram.go | ||
webhook_test.go | ||
wiki.go | ||
wiki_test.go |