Your comments

In my case it's just me, as not all use SmartGit

Based on name patterns would be a good solution, but manually assigning the classes would also be fine. As long as there is something to visualize the danger zones ;)