From 7a76691acf749e53c9d8d3ddaa558259d5567d34 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Sat, 25 Jun 2016 20:38:41 +0100 Subject: Parse repo.namespace This contains the unexpanded name of the namespace rather than the base ref of the namespace, since the git namespace mechanism works by setting GIT_NAMESPACE and on the first call to get_git_namespace() it gets expanded. We need to save this for a later call to prepare_repo_cmd, rather than trying to process it here, since we can only do it once, and we have other uses for the unexpanded name. Signed-off-by: Richard Maw --- cgit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index 49f0557..93de0ea 100644 --- a/cgit.h +++ b/cgit.h @@ -87,6 +87,7 @@ struct cgit_repo { struct string_list readme; char *section; char *clone_url; + char *namespace; char *logo; char *logo_link; int snapshots; -- cgit v1.2.3-18-g5258