Appends "**" to patterns with a terminal slash, so that directory contents are ignored, but not the directory itself.