Syntax highlighting diff
codentest at gmail.com
Thu Aug 25 19:56:21 CEST 2011
I have newly setup cgit and so far like it very much. Thanks Lars and
others for building this great tool.
I was wondering what are the thoughts of the developers here on syntax
highlighting the diffs, it does helps me with reviewing my changes as
the keywords are easily noticeable.
can you please direct me to any tools that you know of that could be
easily integrated or perhaps someone else has already done it.
One tweak I made to cgit.css was to change the "white-space" property
for ssdiff table to "pre-wrap". This allows me to review long lines of
code without having to scroll left and right horizontally. Any
Also the version hosting cgit on hjemli.net is newer than what is
listed in the cgit repo itself... any idea when that will be
checked-in, I like the new diff page options layout in that version.
More information about the CGit