Shubham Padia

SharePatch - Share git patches with clean, review-ready browser diffs

SharePatch turns git diffs into clean, shareable links with side-by-side views for fast review anywhere. Paste text, upload and edit patch files, or import URL-hosted diffs and get a stable unlisted link in one step.

Add a comment

Replies

Best
Shubham Padia
Whenever I received a git diff that was more than 20 lines long, I usually had to apply it locally to understand it. It was a hassle to do, everytime. I wanted a way to see the changes online without applying them locally. So I built sharepatch, to help me share git diff patches online, just like you would do on pastebin but with built-in support for line by line, side by side diffs along with support to reverse the diff.
swati paliwal

@wokepadia Super relatable for code reviews. How does sharepatch handle massive diffs (like, 1000+ lines) or binary changes?

Yuji Ueki

Heads up: the site was returning 502 earlier, the CAPTCHA shows a test environment warning, and the blog link is 404. Who is upvoting this?

Yuji Ueki

Still CAPTCHA is down. unable to use

Shubham Padia

@unhappychoice Thanks for the report! I fixed the 502 errors, can you share what error do you see on the CAPTCHA side, I'm able to successfully create a patch link.

Yuji Ueki

@wokepadia 
`Could not load CAPTCHA. Refresh the page and try again.`

Yuji Ueki

@wokepadia Also, valid unified diff is rejected with "Patch text is not a valid unified git diff" error.