Error running 'git status' with Git version of current 'next' branch

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Error running 'git status' with Git version of current 'next' branch

From: Ralf Thielow <hidden>
Date: 2016-06-15 23:01:50

Hi,

I'm getting the following error when calling 'git status' on one of
my projects.

git: dir.c:739: last_exclude_matching_from_list: Assertion `x->baselen
== 0 || x->base[x->baselen - 1] == '/'' failed.
Aborted (core dumped)

I'm using the current 'next', git version 2.0.1.664.g35b839c
I have bisected it to commit d3ccb7d (dir: remove PATH_MAX limitation).

Here's a simple script to reproduce it:

mkdir tmp
cd tmp
git init
mkdir -p foo/foooooooooo-bar/foooobar/foo/bar/foo/foobar/foooooooo/baaaaaar/fooooo
echo /foo >foo/.gitignore
git status

Ralf

Re: Error running 'git status' with Git version of current 'next' branch

From: Jeff King <hidden>
Date: 2016-06-15 23:01:54

On Wed, Jul 09, 2014 at 09:10:49AM +0200, Ralf Thielow wrote:
I'm getting the following error when calling 'git status' on one of
my projects.

git: dir.c:739: last_exclude_matching_from_list: Assertion `x->baselen
== 0 || x->base[x->baselen - 1] == '/'' failed.
Aborted (core dumped)

I'm using the current 'next', git version 2.0.1.664.g35b839c
I have bisected it to commit d3ccb7d (dir: remove PATH_MAX limitation).
Thanks for bisecting. That commit has been reverted from next in favor
of a nicer refactoring, though, so I don't think it's worth tracking
down the bug in d3ccb7d.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help