Failed assertion in pathspec.c
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.
Quoted 2 lines · Sami Boukortt
git: pathspec.c:317:
prefix_pathspec: Assertion `item->nowildcard_len <=item->len&&item->prefix<=item->len' failed.
Known issue, but no one stepped up to fix it yet
http://thread.gmane.org/gmane.comp.version-control.git/267095
Signature · 1 line
Duy
Quoted 9 lines
Quoted 3 lines · Sami Boukortt
git: pathspec.c:317:
prefix_pathspec: Assertion `item->nowildcard_len <=item->len&&item->prefix<=item->len' failed.Known issue, but no one stepped up to fix it yet
http://thread.gmane.org/gmane.comp.version-control.git/267095
Oh, I see. Sorry for the duplicate report.
Quoted 11 lines · Sami Boukortt
Quoted 9 lines
Quoted 3 lines · Sami Boukortt
git: pathspec.c:317:
prefix_pathspec: Assertion `item->nowildcard_len <=item->len&&item->prefix<=item->len' failed.Known issue, but no one stepped up to fix it yet
http://thread.gmane.org/gmane.comp.version-control.git/267095
Oh, I see. Sorry for the duplicate report.
No, it's actually good. It reminded me about this bug again. Maybe I'll do something about it :)
Signature · 1 line
Duy