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

[Solved] Re: [OT] trouble with .gitignore patterns



On Du, 16 ian 11, 22:08:21, Sven Joachim wrote:
> 
> I see.  Indeed, even replacing "!dir/" with "!dir/*" or "!dir/file3" in
> Andrei's example does not persuade "git status -s" to mention the file.
> This seems to be a bug indeed, taking it to git@vger.kernel.org would be
> good.

Ah, didn't think of searching the mailing list archives directly. The 
solution is to ignore everything with:

/*

I'm not sure I understand the explanation[1], but now I have some 
trimming to do:

$ wc -l .gitignore
118 .gitignore

[1] http://thread.gmane.org/gmane.comp.version-control.git/82548/focus=82689

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: