staging: refactor

This commit is contained in:
2025-04-28 23:47:05 +02:00
parent 210e7588f1
commit 4a2fe06f05
4 changed files with 31 additions and 21 deletions

View File

@@ -739,6 +739,8 @@ func (e *GitHandlerImpl) GitSubmoduleList(gitPath, commitId string) (submoduleLi
for len(trees) > 0 {
for p, tree := range trees {
delete(trees, p)
data_out.Write([]byte(tree))
data_out.ch <- '\x00'
var tree GitTree
@@ -756,7 +758,6 @@ func (e *GitHandlerImpl) GitSubmoduleList(gitPath, commitId string) (submoduleLi
submoduleList[p+te.name] = te.hash
}
delete(trees, p)
}
}
}