News for hackers. Stuff that matters.
Re:Wikimedia is moving to Gitlab by h0l0cube on Thursday October 29, 2020 @01:51AM (#24927670)
It is one advantage to mailpatch though. A lack of vendor lock-in means you can view the patch using whatever application you want. And there's room for a better mailpatch viewer, if anyone could be bothered to make one.

I'm guessing one disadvantage is the method of diff is hard-coded into the patch. It would be good to switch to word-diff, or ignore whitespace, but I'd imagine these could be applied as transformations on the generic format.

Re:Wikimedia is moving to Gitlab by u801e on Thursday October 29, 2020 @02:19AM (#24927811)
> I'm guessing one disadvantage is the method of diff is hard-coded into the patch. It would be good to switch to word-diff, or ignore whitespace, but I'd imagine these could be applied as transformations on the generic format.

The plugin I use in Thunderbird can switch between unified, context, and side-by-side diff views based on the same email. Adding the transformations you mentioned could be done.

But one limitation that email has over other review tools is the lack of ability to expand the view of the context within the client. The only way I could think of is to have git format-patch generate the diff with the entire context included and then have the client limit the display of that context. But that not have a reasonable fallback for those using clients that aren't capable or configured to do that.

Re:Wikimedia is moving to Gitlab by izietto on Thursday October 29, 2020 @11:17AM (#24931430)
Which plugin are you using? it seems life-changing to me
Re:Wikimedia is moving to Gitlab by u801e on Thursday October 29, 2020 @11:27AM (#24931537)
This is the one I'm using: https://github.com/Qeole/colorediffs. I installed it several years ago, so I'm not entirely sure whether you can install it on a current version of Thunderbird, but it is still working with my installation.
Re:Wikimedia is moving to Gitlab by basicexploit on Friday October 30, 2020 @10:08AM (#24942321)
I might try it out as well! Thanks for it.