List for cgit developers and users
 help / color / mirror / Atom feed
From: oggioni.walter at gmail.com (Walter Oggioni)
Subject: pull request
Date: Sun, 25 May 2014 22:40:22 +0200	[thread overview]
Message-ID: <CAAUYEENxZ-kQ0QdgGMD-iZ6EgkQ=Bpp1411LujYMLBjKOHshrg@mail.gmail.com> (raw)

hi,
I'm an arch linux user, I installed cgit 10.1 on two of my machines
carefully following the steps on https://wiki.archlinux.org/index.php/Cgit,
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

if(!ctx.repo->source_filter)
{
 ctx.repo->source_filter = ctx.cfg.source_filter;
}

to filter.c 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

Walter Oggioni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140525/ca2686e4/attachment.html>


             reply	other threads:[~2014-05-25 20:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-25 20:40 oggioni.walter [this message]
2014-05-25 20:46 ` Fwd: " oggioni.walter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAUYEENxZ-kQ0QdgGMD-iZ6EgkQ=Bpp1411LujYMLBjKOHshrg@mail.gmail.com' \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).