From f0f50bc9fb73a1c18d2237b316d431938b72fda1 Mon Sep 17 00:00:00 2001 From: Sebastian Morr Date: Tue, 22 Sep 2020 16:18:56 +0200 Subject: [PATCH] Use an empty Git template directory, use GIT_EDITOR instead of EDITOR --- shell.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell.gd b/shell.gd index 731ff1d..fb5d0b0 100644 --- a/shell.gd +++ b/shell.gd @@ -20,11 +20,12 @@ func run(command): print("$ %s" % command) var env = {} - env["EDITOR"] = game.fake_editor + env["GIT_EDITOR"] = game.fake_editor env["GIT_AUTHOR_NAME"] = "You" env["GIT_COMMITTER_NAME"] = "You" env["GIT_AUTHOR_EMAIL"] = "you@example.com" env["GIT_COMMITTER_EMAIL"] = "you@example.com" + env["GIT_TEMPLATE_DIR"] = "" var hacky_command = "" for variable in env: