Chris Packham <judge.packham@xxxxxxxxx> writes: > On Thu, Jun 16, 2016 at 4:59 PM, Chris Packham <judge.packham@xxxxxxxxx> wrote: >> Hi All, >> >> I have the git-sh-prompt configured in my .bashrc today I visited an >> old worktree that I haven't really touched in a few years (sorry can't >> remember the git version I was using back then). I received the >> following output when changing to the directory >> >> git: pathspec.c:317: prefix_pathspec: Assertion `item->nowildcard_len >> <= item->len && item->prefix <= item->len' failed. >> >> I assume it's one of the git invocations in git-sh-prompt that's >> hitting the assertion. Any thoughts on what might be triggering it? >> Any debug I can gather? > > A bit more info. The directory in question is a uninitialised > submodule. It doesn't trigger in the root of the parent project. Sounds like http://article.gmane.org/gmane.comp.version-control.git/283549 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html