threads / discuss / 39618

Failed assertion in pathspec.c

Subject: Failed assertion in pathspec.c

## tl;dr

4 messages between Jun 13, 2015 and Jun 14, 2015.

replies: 3people: 2as markdown or json

Sami Boukortt· Jun 13, 2015, 17:18 UTC · lore
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.

Duy Nguyen· Jun 14, 2015, 00:40 UTC · re: Sami Boukortt · lore

Re: Failed assertion in pathspec.c

On Sun, Jun 14, 2015 at 12:18 AM, Sami Boukortt <samiboukortt@gmail.com> wrote:
> 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
-- 
Duy
Sami Boukortt· Jun 14, 2015, 10:21 UTC · re: Duy Nguyen · lore

Re: Failed assertion in pathspec.c

Show 9 quoted lines
> On Sun, Jun 14, 2015 at 12:18 AM, Sami Boukortt
> <samiboukortt@gmail.com> wrote:
> > 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.
Duy Nguyen· Jun 14, 2015, 10:30 UTC · re: Sami Boukortt · lore

Re: Failed assertion in pathspec.c

On Sun, Jun 14, 2015 at 5:21 PM, Sami Boukortt <samiboukortt@gmail.com> wrote:
Show 11 quoted lines
>> On Sun, Jun 14, 2015 at 12:18 AM, Sami Boukortt
>> <samiboukortt@gmail.com> wrote:
>> > 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 :)

-- 
Duy

← back to recent threads