fix recursive glob and gitignore