cgit pull request: diffs in atom feed

Andreas Zwinkau beza1e1 at web.de
Sat Mar 26 16:31:22 CET 2011


On Sat, Mar 26, 2011 at 4:00 PM, Lars Hjemli <hjemli at gmail.com> wrote:
> [added cgit list to CC]
>
> On Mon, Mar 7, 2011 at 10:54, Andreas Zwinkau <beza1e1 at web.de> wrote:
>> i wanted the see the diffs in the cgit atom feeds. You can find my
>> changes at https://github.com/beza1e1/cgit
>> This also adds a test script (tests/t0109-atom.sh) for the feed page.
>
> How does the diffstat (and the diffs themselves, especially if
> side-by-side diffs are default) appear when there's no css involved?
> Maybe cgit_print_patch() would work better than cgit_print_diff() in
> atom feeds?

You can see my fork in action here:
 http://pp.info.uni-karlsruhe.de/cgi-bin/cgit.cgi/

Personally, i like the fact that i can apply user-styles to my feeds
and print_diff provides the necessary markup. This is where it ends
up:
 http://pp.info.uni-karlsruhe.de/~zwinkau/feeds/#item-6fecb410
(note that not all items there are generated by my fork)

-- 
Andreas Zwinkau

work email: zwinkau at kit.edu
private email: beza1e1 at web.de
homepage: http://beza1e1.tuxen.de




More information about the CGit mailing list