Failed assertion in pathspec.c
- From
- Sami Boukortt <samiboukortt@gmail.com>
- Date
- Jun 13, 2015, 17:18 UTC
- Message-ID
- <20150613191839.3585effd@SaMobile>
Hi,
I can reliably trigger a failed assertion in Git 2.4.3 by performing the following steps:
mkdir a; cd a git init touch a.txt git add a.txt git commit -m 'a' cd ..
mkdir b; cd b git init git submodule add ../a cd a rm -fr .git git add .
This results in: git: pathspec.c:317: prefix_pathspec: Assertion `item->nowildcard_len <= item->len && item->prefix <= item->len' failed.