git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Failed assertion in pathspec.c

From
SBSami 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.

Next: Duy Nguyen
Message 1 of 4 in “Failed assertion in pathspec.c”
  1. Sami BoukorttJun 13, 2015
  2. Duy NguyenJun 14, 2015
  3. Sami BoukorttJun 14, 2015
  4. Duy NguyenJun 14, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.