Re: assert failed in pathspec.c

2016-02-11 Thread Junio C Hamano
Dingyuan Wang writes: > Hi all, > > I've got an assertion error when `git add .` > > git: pathspec.c:317: prefix_pathspec: Assertion `item->nowildcard_len <= > item->len && item->prefix <= item->len' failed. > Aborted (core dumped) Sounds like http://article.gmane.org/gmane.comp.version-control.

Re: assert failed in pathspec.c

2016-02-11 Thread Dingyuan Wang
git version 2.7.0.GIT (latest git master) Sorry, I have found out that this problem is exactly the same as the previous post I mentioned. When I created the repo, scripts/ was a subrepo, and then I moved scripts/.git out. If I add files in the scripts/ dir, SIGABRT. 在 2016年02月11日 16:24, Torsten

Re: assert failed in pathspec.c

2016-02-11 Thread Torsten Bögershausen
On 02/11/2016 04:59 AM, Dingyuan Wang wrote: [] Thanks for the bug report. What does git --version give you ? And what happens, if you run the latest version of Git ? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More ma

assert failed in pathspec.c

2016-02-10 Thread Dingyuan Wang
Hi all, I've got an assertion error when `git add .` git: pathspec.c:317: prefix_pathspec: Assertion `item->nowildcard_len <= item->len && item->prefix <= item->len' failed. Aborted (core dumped) I think the repo doesn't have anything interesting. No submodules or subrepos. It's like: repo/ .g