From: Lars Hjemli Date: Mon, 6 Jun 2011 19:29:58 +0000 (+0000) Subject: cgit.c: always setup cgit repo environment variables X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/3ec6b309505dc5f7ba14abe8861b02da34a9df0b?hp=3ec6b309505dc5f7ba14abe8861b02da34a9df0b cgit.c: always setup cgit repo environment variables 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 Signed-off-by: Lars Hjemli ---