1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 20:41:58 +02:00
gitea/modules/git
zeripath 54dd28f159
Fix 500 on README in submodule (#13006)
If a README file is a symlink to a submodule Gitea the view branch page
will return a 500.

The underlying problem is a missed conversion of an
plumbing.ErrObjectNotFound in git/tree_blob.go.

Fix #12599

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-10-02 09:27:44 -04:00
..
pipeline
tests/repos
blame_test.go
blame.go
blob_test.go
blob.go
cache.go
command_test.go
command.go
commit_archive.go
commit_info_test.go
commit_info.go
commit_reader.go
commit_test.go
commit.go
diff_test.go
diff.go
error.go
git_test.go
git.go
hook.go
notes_test.go
notes.go
parse_test.go
parse.go
README.md
ref.go
repo_attribute.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_commitgraph.go
repo_compare_test.go
repo_compare.go
repo_gpg.go
repo_hook.go
repo_index.go
repo_language_stats.go
repo_object.go
repo_ref_test.go
repo_ref.go
repo_stats_test.go
repo_stats.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 Fix 500 on README in submodule (#13006) 2020-10-02 09:27:44 -04:00
tree_entry_test.go
tree_entry.go
tree.go
utils_test.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.