diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-06-06 20:33:25 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-06-06 20:53:35 +1000 |
commit | 3e40369fd215b688dcbd9cbb8e9089c0d36522de (patch) | |
tree | 1b0b2510078cc105f8fac6cf2088aefdaada81fe /pkg/commands/git.go | |
parent | 0f0fda16605059ebae73d29f0e4b9b5d1455ce73 (diff) |
add GIT_OPTIONAL_LOCKS=0 env var to all commands
Diffstat (limited to 'pkg/commands/git.go')
-rw-r--r-- | pkg/commands/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 8ef3a1903..2a52ee119 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -622,7 +622,7 @@ func (c *GitCommand) FastForward(branchName string) error { func (c *GitCommand) RunSkipEditorCommand(command string) error { cmd := c.OSCommand.ExecutableFromString(command) cmd.Env = append( - os.Environ(), + cmd.Env, "LAZYGIT_CLIENT_COMMAND=EXIT_IMMEDIATELY", "EDITOR="+c.OSCommand.GetLazygitPath(), ) |