summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2006-12-16 00:14:01 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2006-12-16 00:14:01 (UTC)
commita1a79998f22fe8279be51fc1d31bfcf14031c109 (patch) (side-by-side diff)
treeaea96b67fe0030373ed6338fbc9ef3abca918949
parent6c14f5e457e17da9205588c273d7cb9f92a23b9f (diff)
downloadcgit-a1a79998f22fe8279be51fc1d31bfcf14031c109.zip
cgit-a1a79998f22fe8279be51fc1d31bfcf14031c109.tar.gz
cgit-a1a79998f22fe8279be51fc1d31bfcf14031c109.tar.bz2
Add head comment to shared.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--shared.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index 6b5cfc2..5f2a5ce 100644
--- a/shared.c
+++ b/shared.c
@@ -1,24 +1,32 @@
+/* shared.c: global vars + some callback functions
+ *
+ * Copyright (C) 2006 Lars Hjemli
+ *
+ * Licensed under GNU General Public License v2
+ * (see COPYING for full license text)
+ */
+
#include "cgit.h"
char *cgit_root = "/usr/src/git";
char *cgit_root_title = "Git repository browser";
char *cgit_css = "/cgit.css";
char *cgit_logo = "/git-logo.png";
char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/";
char *cgit_virtual_root = NULL;
char *cgit_cache_root = "/var/cache/cgit";
int cgit_max_lock_attempts = 5;
int cgit_cache_root_ttl = 5;
int cgit_cache_repo_ttl = 5;
int cgit_cache_dynamic_ttl = 5;
int cgit_cache_static_ttl = -1;
int cgit_cache_max_create_time = 5;
char *cgit_repo_name = NULL;
char *cgit_repo_desc = NULL;
char *cgit_repo_owner = NULL;
int cgit_query_has_symref = 0;
int cgit_query_has_sha1 = 0;