Skip to content

docs: fix typo in inline diff comment#833

Open
Rohan5commit wants to merge 1 commit intocharmbracelet:mainfrom
Rohan5commit:rohan/20260329-fix-cutted-comment
Open

docs: fix typo in inline diff comment#833
Rohan5commit wants to merge 1 commit intocharmbracelet:mainfrom
Rohan5commit:rohan/20260329-fix-cutted-comment

Conversation

@Rohan5commit
Copy link
Copy Markdown

Summary

Fix a typo in the inline diff comment in git/patch.go.

Related issue

N/A. This is a trivial comment-only fix.

Guideline alignment

No CONTRIBUTING.md or pull request template was present in the repository root or .github directory when this PR was prepared.

Validation/testing

Not run. This is a comment-only change.

Copilot AI review requested due to automatic review settings March 29, 2026 03:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects wording in an inline comment in git/patch.go to better describe why diffsToString prepends +/- when reconstructing inline diffs.

Changes:

  • Fixes grammar/clarity in the diffsToString comment describing restored diff line prefixes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants