Re: [PATCH v2] status: always report ignored tracked directories

2013-01-07 Thread Torsten Bögershausen
On 06.01.13 23:09, Antoine Pelisse wrote: [snip] Signed-off-by: Antoine Pelisse apeli...@gmail.com --- dir.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/dir.c b/dir.c index 9b80348..f836590 100644 --- a/dir.c +++ b/dir.c @@ -672,7 +672,8 @@ static struct

Re: [PATCH v2] status: always report ignored tracked directories

2013-01-07 Thread Junio C Hamano
Antoine Pelisse apeli...@gmail.com writes: First, thanks for working on this. The explanation is a bit confusing, especially for people like me, as it does not make it clear that there are two kinds of paths in the index. Files can be added to the index (git add and then shown via ls-files) and

Re: [PATCH v2] status: always report ignored tracked directories

2013-01-07 Thread Antoine Pelisse
Here is my attempt... When enumerating paths that are ignored, paths the index knows about are not included in the result. The index knows about check is done by consulting the name hash, not the actual contents of the index: - When core.ignorecase is false, directory