No files found.
+5 −2
hook.go
cmd/hook.go
+1 −1
branch_test.go
models/git/branch_test.go
+5 −8
commit_status.go
models/git/commit_status.go
+5 −1
repo.go
models/repo/repo.go
+7 −2
api.go
modules/context/api.go
+14 −4
repo.go
modules/context/repo.go
+15 −15
batch_reader.go
modules/git/batch_reader.go
+20 −19
blame.go
modules/git/blame.go
+2 −2
blame_test.go
modules/git/blame_test.go
+1 −1
blob_gogit.go
modules/git/blob_gogit.go
+1 −1
blob_nogogit.go
modules/git/blob_nogogit.go
+12 −7
commit.go
modules/git/commit.go
+2 −2
commit_convert_gogit.go
modules/git/commit_convert_gogit.go
+1 −1
commit_info_gogit.go
modules/git/commit_info_gogit.go
+1 −1
commit_info_nogogit.go
modules/git/commit_info_nogogit.go
+4 −4
commit_reader.go
modules/git/commit_reader.go
+3 −3
commit_test.go
modules/git/commit_test.go
+7 −3
last_commit_cache.go
modules/git/last_commit_cache.go
+2 −1
last_commit_cache_gogit.go
modules/git/last_commit_cache_gogit.go
+8 −5
log_name_status.go
modules/git/log_name_status.go
+2 −1
notes_gogit.go
modules/git/notes_gogit.go
+103 −0
object_format.go
modules/git/object_format.go
+143 −0
object_id.go
modules/git/object_id.go
+28 −0
object_id_gogit.go
modules/git/object_id_gogit.go
+21 −0
object_id_test.go
modules/git/object_id_test.go
+10 −6
parse_gogit.go
modules/git/parse_gogit.go
+13 −7
parse_gogit_test.go
modules/git/parse_gogit_test.go
+8 −8
parse_nogogit.go
modules/git/parse_nogogit.go
+13 −9
parse_nogogit_test.go
modules/git/parse_nogogit_test.go
+10 −4
lfs.go
modules/git/pipeline/lfs.go
+21 −18
lfs_nogogit.go
modules/git/pipeline/lfs_nogogit.go
+2 −2
ref.go
modules/git/ref.go
+29 −2
repo.go
modules/git/repo.go
+3 −0
repo_base_gogit.go
modules/git/repo_base_gogit.go
+7 −0
repo_base_nogogit.go
modules/git/repo_base_nogogit.go
+1 −1
repo_blob.go
modules/git/repo_blob.go
+2 −2
repo_blob_gogit.go
modules/git/repo_blob_gogit.go
+1 −1
repo_blob_nogogit.go
modules/git/repo_blob_nogogit.go
+1 −1
repo_blob_test.go
modules/git/repo_blob_test.go
+15 −20
repo_commit.go
modules/git/repo_commit.go
+21 −14
repo_commit_gogit.go
modules/git/repo_commit_gogit.go
+13 −12
repo_commit_nogogit.go
modules/git/repo_commit_nogogit.go
+1 −1
repo_compare.go
modules/git/repo_compare.go
+3 −3
repo_compare_test.go
modules/git/repo_compare_test.go
+1 −1
repo_gpg.go
modules/git/repo_gpg.go
+13 −6
repo_index.go
modules/git/repo_index.go
+1 −1
repo_language_stats_nogogit.go
modules/git/repo_language_stats_nogogit.go
+37 −7
repo_object.go
modules/git/repo_object.go
+2 −2
repo_ref_gogit.go
modules/git/repo_ref_gogit.go
+1 −1
repo_ref_nogogit.go
modules/git/repo_ref_nogogit.go
+7 −7
repo_tag.go
modules/git/repo_tag.go
+6 −6
repo_tag_gogit.go
modules/git/repo_tag_gogit.go
+4 −4
repo_tag_nogogit.go
modules/git/repo_tag_nogogit.go
+8 −7
repo_tag_test.go
modules/git/repo_tag_test.go
+3 −3
repo_tree.go
modules/git/repo_tree.go
+8 −6
repo_tree_gogit.go
modules/git/repo_tree_gogit.go
+5 −5
repo_tree_nogogit.go
modules/git/repo_tree_nogogit.go
+0 −72
sha1.go
modules/git/sha1.go
+0 −19
sha1_gogit.go
modules/git/sha1_gogit.go
+0 −61
sha1_nogogit.go
modules/git/sha1_nogogit.go
+0 −20
sha1_test.go
modules/git/sha1_test.go
+6 −4
tag.go
modules/git/tag.go
+5 −5
tag_test.go
modules/git/tag_test.go
+1 −1
tree.go
modules/git/tree.go
+1 −1
tree_blob_gogit.go
modules/git/tree_blob_gogit.go
+2 −2
tree_entry_gogit.go
modules/git/tree_entry_gogit.go
+1 −1
tree_entry_nogogit.go
modules/git/tree_entry_nogogit.go
+5 −5
tree_gogit.go
modules/git/tree_gogit.go
+5 −5
tree_nogogit.go
modules/git/tree_nogogit.go
+13 −4
git.go
modules/indexer/code/git.go
+4 −3
commits_test.go
modules/repository/commits_test.go
+4 −2
generate.go
modules/repository/generate.go
+2 −2
init.go
modules/repository/init.go
+4 −2
push.go
modules/repository/push.go
+2 −2
notes.go
routers/api/v1/repo/notes.go
+1 −0
repo.go
routers/api/v1/repo/repo.go
+9 −8
git.go
routers/api/v1/utils/git.go
+1 −2
hook_post_receive.go
routers/private/hook_post_receive.go
+4 −3
hook_pre_receive.go
routers/private/hook_pre_receive.go
+5 −3
hook_verification.go
routers/private/hook_verification.go
+5 −2
hook_verification_test.go
routers/private/hook_verification_test.go
+7 −2
blame.go
routers/web/repo/blame.go
+8 −1
branch.go
routers/web/repo/branch.go
+1 −1
commit.go
routers/web/repo/commit.go
+2 −1
compare.go
routers/web/repo/compare.go
+1 −1
githttp.go
routers/web/repo/githttp.go
+2 −0
repo.go
routers/web/repo/repo.go
+6 −5
lfs.go
routers/web/repo/setting/lfs.go
+7 −1
webhook.go
routers/web/repo/setting/webhook.go
+6 −1
commit_status.go
services/actions/commit_status.go
+4 −2
agit.go
services/agit/agit.go
+5 −5
git_commit_test.go
services/convert/git_commit_test.go
+2 −0
repo_form.go
services/forms/repo_form.go
+16 −8
gitdiff.go
services/gitdiff/gitdiff.go
+5 −3
common.go
services/migrations/common.go
+2 −1
gitea_uploader.go
services/migrations/gitea_uploader.go
+1 −1
gitea_uploader_test.go
services/migrations/gitea_uploader_test.go
+5 −1
mirror_pull.go
services/mirror/mirror_pull.go
+1 −1
index.go
services/packages/cargo/index.go
+12 −7
check.go
services/pull/check.go
+2 −1
merge.go
services/pull/merge.go
+6 −3
patch.go
services/pull/patch.go
+2 −1
pull.go
services/pull/pull.go
+8 −2
temp_repo.go
services/pull/temp_repo.go
+8 −3
release.go
services/release/release.go
+3 −25
archiver.go
services/repository/archiver/archiver.go
+6 −1
branch.go
services/repository/branch.go
+1 −1
check.go
services/repository/check.go
+7 −1
create.go
services/repository/create.go
+2 −3
cherry_pick.go
services/repository/files/cherry_pick.go
+8 −3
commit.go
services/repository/files/commit.go
+1 −1
patch.go
services/repository/files/patch.go
+2 −2
temp_repo.go
services/repository/files/temp_repo.go
+10 −8
tree.go
services/repository/files/tree.go
+3 −2
update.go
services/repository/files/update.go
+1 −1
upload.go
services/repository/files/upload.go
+2 −1
lfs.go
services/repository/lfs.go
+13 −8
push.go
services/repository/push.go
+1 −0
slack.go
services/webhook/slack.go
+1 −1
wiki.go
services/wiki/wiki.go
+1 −1
wiki_test.go
services/wiki/wiki_test.go
+1 −1
git_helper_for_declarative_test.go
tests/integration/git_helper_for_declarative_test.go