]> gitweb.ps.run Git - ps-cgit/commitdiff
cgit.c: always setup cgit repo environment variables
authorLars Hjemli <hjemli@gmail.com>
Mon, 6 Jun 2011 19:29:58 +0000 (19:29 +0000)
committerLars Hjemli <hjemli@gmail.com>
Mon, 13 Jun 2011 23:03:46 +0000 (23:03 +0000)
When cgit learned to setup environment variables for certain repo
settings before invoking a filter process, the setup occurred inside
cgit_open_filter().

This patch moves the setup out of cgit_open_filter() and into
prepare_repo_cmd() to prepare for additional uses of these variables.

Reviewed-by: Ferry Huberts <mailings@hupie.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>

No differences found