On Wed, May 4, 2011 at 1:06 PM, Johannes Sixt <j.sixt@xxxxxxxxxxxxx> wrote: > Am 5/4/2011 3:05, schrieb Nguyen Thai Ngoc Duy: >> Maybe something like this instead of a implemantation fix? > > Yes, but... > >> diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt >> index 8416f34..81e9d43 100644 >> --- a/Documentation/gitignore.txt >> +++ b/Documentation/gitignore.txt >> @@ -71,6 +71,8 @@ PATTERN FORMAT >> Â Â matching file excluded by a previous pattern will become >> Â Â included again. ÂIf a negated pattern matches, this will >> Â Â override lower precedence patterns sources. >> + Â If a directory is excluded by earlier patterns, negated >> + Â patterns that touch files inside the directory will be ignored. >> >> Â - If the pattern ends with a slash, it is removed for the >> Â Â purpose of the following description, but it would only find >> > > ... as I already said here: > > http://thread.gmane.org/gmane.comp.version-control.git/170907/focus=170916 > > I think that this is not quite the right place to mention this > restriction. See my proposal in the same post. Thanks. I missed that post. NOTES is fine although I prefer BUGS (or LIMITATIONS). We may decide not to look for more .gitignore inside, but we should respect all patterns we have got. Can you please submit your changes in a patch? -- Duy -- 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