<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr"><div><div><div>hi,<br></div>I'm an arch linux user, I installed cgit 10.1 on two of my machines<br></div>carefully following the steps on <a href="https://wiki.archlinux.org/index.php/Cgit" target="_blank">https://wiki.archlinux.org/index.php/Cgit</a>, <br>

</div><div>but never managed to make syntax highlighting working. After lots of headache I discovered that the script specified in cgitrc after "source-filter=" was actually never executed, then I downloaded the source, and as far as I could understand, the only source-filter that was used was the repo.source-filter, (I might be wrong because I haven't read all the code), while ctx.cfg.source_filter was ignored. To solve the problem I added this<br>

<br>if(!ctx.repo->source_filter)<div>{</div><div> ctx.repo->source_filter = ctx.cfg.source_filter;</div><div>}<br><br></div><br></div><div>to <b>ui-tree.c at line 47</b> and now everything works. I just wanted to know if you can confirm this is bug, or maybe there is something wrong in my installation/configuration<span class="HOEnZb"><font color="#888888"><br>

<br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Walter Oggioni<br></div></font></span></div>
</div><br></div>