logoalt Hacker News

IshKebabyesterday at 10:23 PM2 repliesview on HN

No need for that. Just install the VSCode GitHub extension and you can just directly open them. It even supports comments.

Hell even if you don't use VSCode there are much better options than messing around with patch files.


Replies

klardotshtoday at 2:35 AM

VSCode is not a “given” - I certainly don’t use, or ever intend to use, it.

Patch files are excellent for small diffs at a glance. Sure, I can also `git remote add coworker ssh://fork.url` and `git diff origin/main..coworker/branch`, and that would even let me use Difftastic (!), but the patch is entirely reasonable for quick glances of small branch diffs.

SahAssaryesterday at 11:50 PM

When I read

> No need for that.

I generally expect a less complex solution, it seems like your is more complex (easiness is arguable though)