On Sun, Apr 7, 2013 at 11:30 AM, John Keeping <j...@keeping.me.uk> wrote:
> +       if (prefixcmp(snapshot.buf, reponame) == 0) {
> +               const char *new_start = snapshot.buf;
> +               new_start += strlen(reponame);
> +               while (new_start && (*new_start == '-' || *new_start == '_'))
> +                       new_start++;
> +               strbuf_splice(&snapshot, 0, new_start - snapshot.buf, "", 0);
>         }

Something funky is happening here.

_______________________________________________
cgit mailing list
cgit@hjemli.net
http://hjemli.net/mailman/listinfo/cgit

Reply via email to