Interposing administrator defined javascript in cgit....

Ferry Huberts mailings at hupie.com
Wed Jun 29 21:54:49 CEST 2011


On 06/29/2011 08:41 PM, Convey, Simon wrote:
> Dear cgit devteam,
>          We are moving a large CVS rpository to git. ( We did a long mercurial vs git eval, and git won hands down ). CVS  has a web based code brower, and whilst its nowhere near as pretty as cgit,, it has one feature which cgit lacks, and that's an arbitrary file diff.  We implemented this this using javascript, and we've realised that being able to interpose javascript in cgit is a really useful feature. I have added code to cgit to do this, and some example javascript which does useful things.  I tried a git push earlier, but its not accepting pushes. Do you need my IP address ? 206.205.108.*
> 
> Here's the added code.....

send patches or publish your code somewhere (like github) please
that's much easier to look at :-)


-- 
Ferry Huberts




More information about the CGit mailing list