Skip to content

fix: override diff.mnemonicprefix in git config#29202

Closed
pxp9 wants to merge 1 commit into
anomalyco:devfrom
pxp9:fix-diff-mnemonicprefix
Closed

fix: override diff.mnemonicprefix in git config#29202
pxp9 wants to merge 1 commit into
anomalyco:devfrom
pxp9:fix-diff-mnemonicprefix

Conversation

@pxp9
Copy link
Copy Markdown

@pxp9 pxp9 commented May 25, 2026

Issue for this PR

Closes #29203

Fixes #29203

this PR does not have issue yet

this fixes when you have this conf in git , the diff could not parse the diff showing empty diff, bc it was unable to parse it.

2

Type of change

  • Bug fix

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

image

Using the following git config works

# This is Git's per-user configuration file.
[diff]
	mnemonicprefix = false

I have tested by changing the git config to mnemonicprefix=false, so opencode should override this value

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels May 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 25, 2026

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • "How did you verify your code works?" section is empty. Please explain how you tested.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions
Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label May 25, 2026
@github-actions github-actions Bot closed this May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot render the diff

1 participant