Re: [PATCH] Fix 'git add' with .gitignore (Re: git-add ignores .gitignore)

From: Brian Gernhardt <benji@silverinsanity.com>
Date: 2006-12-31 01:50:03
On Dec 29, 2006, at 1:57 PM, Junio C Hamano wrote:

> Thanks for noticing.
>
> The commit 4888c534 tried to mark the path it returns so that
> the caller can tell if it is ignored or not, but botched the
> case where a directory is ignored.  It should have marked the
> contents as ignored if higher level directory was.
>
> But I think the approach that change makes is more expensive
> than the original code and is not necessary.  How about this
> patch, after you revert that commit?

Tried it and it works for me!  Thanks.

~~ Brian
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Dec 31 01:50:53 2006

This archive was generated by hypermail 2.1.8 : 2006-12-31 01:52:17 EST