mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
Use an empty Git template directory, use GIT_EDITOR instead of EDITOR
This commit is contained in:
parent
5031009dd5
commit
f0f50bc9fb
1 changed files with 2 additions and 1 deletions
3
shell.gd
3
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:
|
||||
|
|
Loading…
Reference in a new issue