Re: "git add $ignored_file" fail
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 17, 2006, 13:46 UTC
- Message-ID
- <e4f9eo$b60$1@sea.gmane.org>
- In-Reply-To
- <8aa486160605170641p2ab8704o@mail.gmail.com>
Santi wrote:
Show 6 quoted lines
> In the other way, now I find the value of being able to say: > > $ git add t* > > and be sure that it does not add an ignored file. Unfortunately > git-add cannot distinguish between both.
Well, it could. If 'git add <filespec>' would result in NO files added, take <filespec> as literate <file> (filename), regardless of ignores.
-- Jakub Narebski Warsaw, Poland