Further glob matching optimization.
Further glob matching optimization.

Precompute pattern type and use simple string comparisons if possible.

lukec/gibak,mhl/gib,snaewe/gibak,snaewe/gibak,mhl/gib,lukec/gibak