mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-29 20:29:00 +02:00
Performance: don't create trees and blobs, only update repos once
This commit is contained in:
parent
cccaa75a48
commit
fe97283ddb
5 changed files with 16 additions and 21 deletions
scenes
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue