git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Error running 'git status' with Git version of current 'next' branch
@ 2014-07-09  7:10 Ralf Thielow
  2014-07-12  4:59 ` Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Thielow @ 2014-07-09  7:10 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error running 'git status' with Git version of current 'next' branch
  2014-07-09  7:10 Error running 'git status' with Git version of current 'next' branch Ralf Thielow
@ 2014-07-12  4:59 ` Jeff King
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2014-07-12  4:59 UTC (permalink / raw)
  To: Ralf Thielow; +Cc: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-12  4:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09  7:10 Error running 'git status' with Git version of current 'next' branch Ralf Thielow
2014-07-12  4:59 ` Jeff King

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 NNTP newsgroup(s).