]> granicus.if.org Git - cgit/commit
cgit_open_filter: hand down repo configuration to script
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 23 Mar 2011 10:57:43 +0000 (11:57 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sat, 26 Mar 2011 10:03:42 +0000 (11:03 +0100)
commit14f28923a2ed31fba9bf7042e8e2dff21717c333
treee3943ff98a2a59f4503e96bbc4ea135d80aa8c81
parentd87bba846d368e560193a1f75de6d66bffe986cf
cgit_open_filter: hand down repo configuration to script

The environment variables can be used to (for example) resolve
the following situation:

Suppose a server setup in which each repository has a trac
instance; the commit filter needs to know with which
repository it's dealing in order to be able to resolve the
#123 ticket numbers in the commit messages into hyperlinks
into the correct trac instance.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
shared.c