fix(non-interactive-env): force unix prefix for bash git commands#2812
Merged
code-yeongyu merged 1 commit intodevfrom Mar 24, 2026
Merged
fix(non-interactive-env): force unix prefix for bash git commands#2812code-yeongyu merged 1 commit intodevfrom
code-yeongyu merged 1 commit intodevfrom
Conversation
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <[email protected]>
There was a problem hiding this comment.
No issues found across 1 file
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Forcing 'unix' syntax (export) over shell detection could cause regressions for users running git commands in native Windows shells like CMD or PowerShell.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
exportsyntax for git commands, even on win32 host shellsTesting
bun test src/hooks/non-interactive-env/index.test.tsbun test src/shared/shell-env.test.tsbun run typecheckbun run buildwin32+ PowerShell env still prints anexport ...; git statuscommand for the bash toolReview
review-work: PASSSummary by cubic
Force Unix
exportprefix for non-interactive bash git commands to prevent prompts on Windows shells. Change is scoped to the non-interactive env hook; shared shell detection stays unchanged.Written for commit e000a3b. Summary will update on new commits.