The relevant code is here:<div><br></div><div><div>        if (ctx.cfg.section_from_path) {</div><div>                n  = ctx.cfg.section_from_path;</div><div>                if (n > 0) {</div><div>                        slash = rel.buf;</div>
<div>                        while (slash && n && (slash = strchr(slash, '/')))</div><div>                                n--;</div><div>                } else {</div><div>                        slash = rel.buf + rel.len;</div>
<div>                        while (slash && n && (slash = xstrrchr(rel.buf, slash, '/')))</div><div>                                n++;</div><div>                }</div><div>                if (slash && !n) {</div>
<div>                        *slash = '\0';</div><div>                        repo->section = xstrdup(rel.buf);</div><div>                        *slash = '/';</div><div>                        if (!prefixcmp(repo->name, repo->section)) {</div>
<div>                                repo->name += strlen(repo->section);</div><div>                                if (*repo->name == '/')</div><div>                                        repo->name++;</div>
<div>                        }</div><div>                }</div><div>        }</div></div><div><br></div><div>I haven't looked at this closely, but do you see a bug that resembles the issue you're seeing? Currently on vacation and I can look in more depth when I return.</div>