mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-04 08:44:04 +01:00
83565de2c0
Fix #31271. When gogit is enabled, `IsObjectExist` calls `repo.gogitRepo.ResolveRevision`, which is not correct. It's for checking references not objects, it could work with commit hash since it's both a valid reference and a commit object, but it doesn't work with blob objects. So it causes #31271 because it reports that all blob objects do not exist. (cherry picked from commit f4d3120f9d1de6a260a5e625b3ffa6b35a069e9b) Conflicts: trivial resolution because go-git support was dropped https://codeberg.org/forgejo/forgejo/pulls/4941 |
||
---|---|---|
.. | ||
foreachref | ||
internal | ||
pipeline | ||
pushoptions | ||
tests/repos | ||
url | ||
batch_reader.go | ||
blame.go | ||
blame_sha256_test.go | ||
blame_test.go | ||
blob.go | ||
blob_test.go | ||
command.go | ||
command_race_test.go | ||
command_test.go | ||
commit.go | ||
commit_info.go | ||
commit_info_test.go | ||
commit_reader.go | ||
commit_sha256_test.go | ||
commit_test.go | ||
diff.go | ||
diff_test.go | ||
error.go | ||
git.go | ||
git_test.go | ||
grep.go | ||
grep_test.go | ||
hook.go | ||
last_commit_cache.go | ||
log_name_status.go | ||
notes.go | ||
notes_test.go | ||
object_format.go | ||
object_id.go | ||
object_id_test.go | ||
object_signature.go | ||
parse.go | ||
parse_test.go | ||
README.md | ||
ref.go | ||
ref_test.go | ||
remote.go | ||
repo.go | ||
repo_archive.go | ||
repo_attribute.go | ||
repo_attribute_test.go | ||
repo_base.go | ||
repo_blame.go | ||
repo_blob_test.go | ||
repo_branch.go | ||
repo_branch_test.go | ||
repo_commit.go | ||
repo_commit_test.go | ||
repo_commitgraph.go | ||
repo_compare.go | ||
repo_compare_test.go | ||
repo_gpg.go | ||
repo_hook.go | ||
repo_index.go | ||
repo_language_stats.go | ||
repo_language_stats_test.go | ||
repo_object.go | ||
repo_ref.go | ||
repo_ref_test.go | ||
repo_stats.go | ||
repo_stats_test.go | ||
repo_tag.go | ||
repo_tag_test.go | ||
repo_test.go | ||
repo_tree.go | ||
signature.go | ||
signature_test.go | ||
submodule.go | ||
submodule_test.go | ||
tag.go | ||
tag_test.go | ||
tree.go | ||
tree_blob.go | ||
tree_entry.go | ||
tree_entry_mode.go | ||
tree_test.go | ||
utils.go | ||
utils_test.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.