Refs #13. Build exclude patterns tree before traversing git files.