]> gitweb.ps.run Git - ps-cgit/commit
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)
commit3ec6b309505dc5f7ba14abe8861b02da34a9df0b
tree4dda97c3b85d8103f05332677c6e0a15113f3cf3
parentb88cda6e5b4472fc1bb0ae00d9fb974ec4f61d7a
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 <mailings@hupie.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.c
cgit.h
shared.c
ui-commit.c
ui-repolist.c
ui-snapshot.c
ui-summary.c
ui-tree.c