mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-01 17:52:31 +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