We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84bfd00 commit 0d69dfbCopy full SHA for 0d69dfb
modules/git/tree_blob.go
@@ -60,7 +60,7 @@ func (t *Tree) GetBlobByPath(relpath string) (*Blob, error) {
60
return nil, err
61
}
62
63
- if !entry.IsDir() {
+ if !entry.IsDir() && !entry.IsSubModule() {
64
return entry.Blob(), nil
65
66
0 commit comments