2011/11/7 Jonathan Nieder <jrnieder@xxxxxxxxx>: > The rule described by v1.7.1.1~31^2 (gitignore.5: Clarify matching > rules, 2010-03-05) is just false: simple gitignore patterns without a > slash like "foo" and "cscope*" have always matched files in all > directories, not just the toplevel, and a question mark cannot be used > to match the slash separating path components. > > For example: > > foo/ - matches directories named "foo" throughout the tree > Documentation?foo - does not match Documentation/foo > > Reported-by: Y.G. <yamomo1@xxxxxxxxxxx> > Signed-off-by: Jonathan Nieder <jrnieder@xxxxxxxxx> Acked-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> -- 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