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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]