about summary refs log tree commit diff
path: root/shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2012-03-18 20:59:36 +0000
committerLars Hjemli <hjemli@gmail.com>2012-03-18 20:59:36 +0000
commit2b9fab8d30420d935745c4d84ea22412ab2485e5 (patch)
tree664ebc3d061fd7e89393af67bfbc406f3b600be0 /shared.c
parentMerge branch 'stable' (diff)
parentDo not provide a default value for `module-link` (diff)
downloadcgit-pink-2b9fab8d30420d935745c4d84ea22412ab2485e5.tar.gz
cgit-pink-2b9fab8d30420d935745c4d84ea22412ab2485e5.zip
Merge branch 'lh/module-links'
Diffstat (limited to '')
-rw-r--r--shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index 0c8ce3e..cb52380 100644
--- a/shared.c
+++ b/shared.c
@@ -70,6 +70,7 @@ struct cgit_repo *cgit_add_repo(const char *url)
 	ret->commit_filter = ctx.cfg.commit_filter;
 	ret->source_filter = ctx.cfg.source_filter;
 	ret->clone_url = ctx.cfg.clone_url;
+	ret->submodules.strdup_strings = 1;
 	return ret;
 }