Re: [RFC/PATCH] git-add: Don't exclude explicitly-specified tracked files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 12, 2010, 20:00 UTC
- Message-ID
- <7viq3fsirv.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <AANLkTimODL6j11D6QuUX4b47GwFOVOXdqkhqrRfRaxmq@mail.gmail.com>
Greg Brockman <gdb@MIT.EDU> writes:
Show 7 quoted lines
> 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"?