fix(non-interactive-env): use shell no-op for editor env vars
- Changed GIT_EDITOR, EDITOR, GIT_SEQUENCE_EDITOR from 'true' to ':' (shell no-op builtin) - Changed VISUAL from 'true' to '' (empty string to prevent fallback issues) - Added GIT_MERGE_AUTOEDIT: 'no' to prevent merge editor prompts Fixes SIGTERM issues when git tries to open editors in non-interactive environments. 🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -7,10 +7,11 @@ export const NON_INTERACTIVE_ENV: Record<string, string> = {
|
|||||||
GCM_INTERACTIVE: "never",
|
GCM_INTERACTIVE: "never",
|
||||||
HOMEBREW_NO_AUTO_UPDATE: "1",
|
HOMEBREW_NO_AUTO_UPDATE: "1",
|
||||||
// Block interactive editors - git rebase, commit, etc.
|
// Block interactive editors - git rebase, commit, etc.
|
||||||
GIT_EDITOR: "true",
|
GIT_EDITOR: ":",
|
||||||
EDITOR: "true",
|
EDITOR: ":",
|
||||||
VISUAL: "true",
|
VISUAL: "",
|
||||||
GIT_SEQUENCE_EDITOR: "true",
|
GIT_SEQUENCE_EDITOR: ":",
|
||||||
|
GIT_MERGE_AUTOEDIT: "no",
|
||||||
// Block pagers
|
// Block pagers
|
||||||
GIT_PAGER: "cat",
|
GIT_PAGER: "cat",
|
||||||
PAGER: "cat",
|
PAGER: "cat",
|
||||||
|
|||||||
Reference in New Issue
Block a user