Use an empty Git template directory, use GIT_EDITOR instead of EDITOR

This commit is contained in:
Sebastian Morr 2020-09-22 16:18:56 +02:00
parent 5031009dd5
commit f0f50bc9fb

View file

@ -20,11 +20,12 @@ func run(command):
print("$ %s" % command) print("$ %s" % command)
var env = {} var env = {}
env["EDITOR"] = game.fake_editor env["GIT_EDITOR"] = game.fake_editor
env["GIT_AUTHOR_NAME"] = "You" env["GIT_AUTHOR_NAME"] = "You"
env["GIT_COMMITTER_NAME"] = "You" env["GIT_COMMITTER_NAME"] = "You"
env["GIT_AUTHOR_EMAIL"] = "you@example.com" env["GIT_AUTHOR_EMAIL"] = "you@example.com"
env["GIT_COMMITTER_EMAIL"] = "you@example.com" env["GIT_COMMITTER_EMAIL"] = "you@example.com"
env["GIT_TEMPLATE_DIR"] = ""
var hacky_command = "" var hacky_command = ""
for variable in env: for variable in env: