diff options
author | lunnyxiao <xiaolunwen@gmail.com> | 2014-09-22 10:43:16 +0800 |
---|---|---|
committer | lunnyxiao <xiaolunwen@gmail.com> | 2014-09-22 10:43:16 +0800 |
commit | 150eef93b2340f665c070158ade1863339829e05 (patch) | |
tree | 6c44b11cfcd4d74cec98c25b734608296020cc75 /modules/git/tree.go | |
parent | 7ba9257a7ff659417501baf7358216555cebcd86 (diff) | |
download | gitea-150eef93b2340f665c070158ade1863339829e05.tar.gz gitea-150eef93b2340f665c070158ade1863339829e05.zip |
add submodule basic support & buf fixed #478
Diffstat (limited to 'modules/git/tree.go')
-rw-r--r-- | modules/git/tree.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/git/tree.go b/modules/git/tree.go index 03152c34ac..a3012443d7 100644 --- a/modules/git/tree.go +++ b/modules/git/tree.go @@ -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 |