Skip to content

reviewdiff: Stream branch diffs - #1431

Merged
abhinav merged 1 commit into
branch-comment-commandsfrom
review-diff-streaming
Sep 6, 2026
Merged

reviewdiff: Stream branch diffs#1431
abhinav merged 1 commit into
branch-comment-commandsfrom
review-diff-streaming

Conversation

@abhinav

@abhinav abhinav commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Review commands inspect branch patches only to answer anchor queries.
Buffering the complete patch makes memory use scale with diff size.

Return the git diff stdout pipe as an io.ReadCloser.
Closing the reader waits for Git, so callers receive parser and process
failures together without a producer goroutine.

@abhinav abhinav added the skip changelog PRs that don't need a changelog. label Sep 1, 2026
Review commands inspect branch patches only to answer anchor queries.
Buffering the complete patch makes memory use scale with diff size.

Return the `git diff` stdout pipe as an `io.ReadCloser`.
Closing the reader waits for Git, so callers receive parser and process
failures together without a producer goroutine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog PRs that don't need a changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant