From: Junio C Hamano Date: Thu, 12 Aug 2010 20:00:52 GMT Subject: Re: [RFC/PATCH] git-add: Don't exclude explicitly-specified tracked files Message-ID: <7viq3fsirv.fsf@alter.siamese.dyndns.org> In-Reply-To: Greg Brockman writes: > First of all, as you point out 'git add foo.pdf' works where foo.pdf > has been explicitly ignored, while in contrast 'git add dir/file' > fails when file has only been indirectly ignored because it is in an > ignored directory. In the former case, the user explicitly specified > a policy for that file. In the later case, the policy is only > indirectly expressed because that file happens to be in an ignored > directory. Sorry, but I don't get this argument. When the user says "everything in this directory is ignored", why does it make it less direct than "this particular file is ignored"?