about summary refs log tree commit diff
path: root/shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2012-03-18 21:00:18 +0000
committerLars Hjemli <hjemli@gmail.com>2012-03-18 21:00:18 +0000
commit181b6e789b79fc385e5ec75b2b83f01192d54051 (patch)
tree8888b5eb9c6674b69bcb8f508f9d6f548fc1fed3 /shared.c
parentMerge branch 'lh/module-links' (diff)
parentui-repolist.c: fallback to "master" if no default branch is specified (diff)
downloadcgit-pink-181b6e789b79fc385e5ec75b2b83f01192d54051.tar.gz
cgit-pink-181b6e789b79fc385e5ec75b2b83f01192d54051.zip
Merge branch 'jp/defbranch'
Diffstat (limited to '')
-rw-r--r--shared.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/shared.c b/shared.c
index cb52380..0a0e22e 100644
--- a/shared.c
+++ b/shared.c
@@ -55,7 +55,6 @@ struct cgit_repo *cgit_add_repo(const char *url)
 	ret->desc = "[no description]";
 	ret->owner = NULL;
 	ret->section = ctx.cfg.section;
-	ret->defbranch = "master";
 	ret->snapshots = ctx.cfg.snapshots;
 	ret->enable_commit_graph = ctx.cfg.enable_commit_graph;
 	ret->enable_log_filecount = ctx.cfg.enable_log_filecount;