Skip to content

docs: document reviewing a GitHub PR by piping gh pr diff into hunk patch - #672

Open
habakan wants to merge 1 commit into
modem-dev:mainfrom
habakan:docs/pr-review-workflow
Open

docs: document reviewing a GitHub PR by piping gh pr diff into hunk patch#672
habakan wants to merge 1 commit into
modem-dev:mainfrom
habakan:docs/pr-review-workflow

Conversation

@habakan

@habakan habakan commented Aug 3, 2026

Copy link
Copy Markdown

What

Documents the workflow for reviewing a GitHub pull request without checking it out:

  • website/.../workflows/files-and-patches.md: new "Review a GitHub pull request" section with gh pr diff 123 --patch | hunk patch - and the hunk-pr shell function suggested by @benvinegar in feat(diff): review a GitHub pull request with --pr #663.
  • README.md: one example line in "Working with raw files and patches".
  • Empty changeset, since this is docs-only.

Why

In #663 I proposed a hunk diff --pr flag for #465, and the feedback was that documenting and sharing the existing pipe workflow is preferable to coupling hunk to gh. This PR takes that direction. Closing #663 in favor of this.

Related: #465

This is my first contribution here, so feel free to adjust wording or placement.

@greptile-apps

greptile-apps Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

PR author is not in the allowed authors list.

@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

@habakan is attempting to deploy a commit to the Modem Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant