aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2016-06-25 20:38:41 +0100
committerRichard Maw <richard.maw@gmail.com>2016-07-13 20:09:37 +0100
commit7a76691acf749e53c9d8d3ddaa558259d5567d34 (patch)
tree5b1b94b4ee5fee8693f7882c9e9a48c713e65a2b /cgit.h
parentAdd a wrapper for get_sha1 called cgit_get_sha1 (diff)
downloadcgit-7a76691acf749e53c9d8d3ddaa558259d5567d34.tar.xz
cgit-7a76691acf749e53c9d8d3ddaa558259d5567d34.zip
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 <richard.maw@gmail.com>
Diffstat (limited to '')
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
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;