Optimized categorisation of commit files