git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Sami Boukortt <samiboukortt@gmail.com>
To: git@vger.kernel.org
Subject: Failed assertion in pathspec.c
Date: Sat, 13 Jun 2015 19:18:39 +0200	[thread overview]
Message-ID: <20150613191839.3585effd@SaMobile> (raw)

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.

             reply	other threads:[~2015-06-13 17:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-13 17:18 Sami Boukortt [this message]
2015-06-14  0:40 ` Failed assertion in pathspec.c Duy Nguyen
2015-06-14 10:21   ` Sami Boukortt
2015-06-14 10:30     ` Duy Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150613191839.3585effd@SaMobile \
    --to=samiboukortt@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).