From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Mon, 20 Jan 2014 21:52:23 +0100 Subject: Description in repo not used if not using scan-path In-Reply-To: <52DD8B79.6050109@googlemail.com> References: <52CDD530.6020005@googlemail.com> <52DD8B79.6050109@googlemail.com> Message-ID: It looks like we get description from gitweb.description, inside the git config: else if (!strcmp(key, "gitweb.description")) config_fn(repo, "desc", value); We alternatively get it from the description file: if (repo->desc == cgit_default_repo_desc || !repo->desc) { strbuf_addstr(path, "description"); if (!stat(path->buf, &st)) readfile(path->buf, &repo->desc, &size); strbuf_setlen(path, pathlen); } It may be smart to support both of these in that function. I'll see if I can build in description scanning. I'm not completely convinced we want it (after all, scan-path is _not_ defined in this case), but I'll look into it.