mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 16:58:37 +00:00
add submodule basic support & buf fixed #478
This commit is contained in:
@@ -51,6 +51,8 @@ func parseTreeData(tree *Tree, data []byte) ([]*TreeEntry, error) {
|
||||
case "160000":
|
||||
entry.mode = ModeCommit
|
||||
entry.Type = COMMIT
|
||||
|
||||
step = 8
|
||||
case "040000":
|
||||
entry.mode = ModeTree
|
||||
entry.Type = TREE
|
||||
|
Reference in New Issue
Block a user