This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
gitea
mirror of
https://github.com/go-gitea/gitea.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
210
Wiki
Activity
Browse Source
Do not attempt to return blob on submodule (
#6996
)
tags/v1.9.0-rc1
zeripath
5 years ago
parent
84bfd00537
commit
0d69dfb4ca
No account linked to committer's email address
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
modules/git/tree_blob.go
+ 1
- 1
modules/git/tree_blob.go
View File
@@ -60,7 +60,7 @@ func (t *Tree) GetBlobByPath(relpath string) (*Blob, error) {
return nil, err
}
if !entry.IsDir() {
if !entry.IsDir()
&& !entry.IsSubModule()
{
return entry.Blob(), nil
}
Write
Preview
Loading…
Cancel
Save