Feature request: "plain" diff display mode
normalperson at yhbt.net
Wed Oct 16 08:40:52 CEST 2013
Kerrick Staley <kerrick at kerrickstaley.com> wrote:
> It'd be useful if cgit could display plain-text diffs, similar to the
> "plain" blob display mode. This would allow you to run e.g.
> curl <plain-diff-url> | patch -p1
> It looks like  implements this feature, but I'm not sure.
> - Kerrick
Just replace "/commit/" with "/patch/" in the URL.
IIRC, cgit has had this for a long time.
I use curl + (patch|git am|git apply) like this often, too!
More information about the CGit