Performance: don't create trees and blobs, only update repos once

This commit is contained in:
blinry 2021-01-13 13:30:08 +01:00
parent cccaa75a48
commit fe97283ddb
5 changed files with 16 additions and 21 deletions
scenes

View file

@ -112,9 +112,6 @@ func construct():
continue
game.global_shell.run("git remote add %s '%s'" % [r2, repos[r2].path])
# Allow receiving a push of the checked-out branch.
game.global_shell.run("git config receive.denyCurrentBranch ignore")
for r in repos:
var repo = repos[r]
game.global_shell.cd(repo.path)