Kerrick Staley <[email protected]> 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 [1] implements this feature, but I'm not sure. > > - Kerrick > > [1] > http://git.zx2c4.com/cgit/commit/?id=445f6ae8e3ef19b6ca70e741e934778bc4a05555
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! _______________________________________________ CGit mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/cgit
