Am 09.10.2012 14:49, schrieb Jason A. Donenfeld:
> Please test the jd/gitconfig branch, and let me know how it goes.You
> can read a diff here:
> http://git.zx2c4.com/cgit/commit/?h=jd/gitconfig

One more thing: The second setting of "repo->name" should be removed
(see attached diff). It is already set by cgit_add_repo(), but the
second time it overwrites possible changes from the git-config.

Else it works great here :)

- René
diff --git a/scan-tree.c b/scan-tree.c
index c45d28a..6ce8036 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@ -110,7 +110,6 @@ static void add_repo(const char *base, const char *path, 
repo_config_fn fn)
        if (ctx.cfg.remove_suffix)
                if ((p = strrchr(repo->url, '.')) && !strcmp(p, ".git"))
                        *p = '\0';
-       repo->name = repo->url;
        repo->path = xstrdup(path);
        while (!repo->owner) {
                if ((pwd = getpwuid(st.st_uid)) == NULL) {
_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to