4150459 Only check if a repository is dirty when building in release mode.

Authored and Committed by kapstok a year ago
    Only check if a repository is dirty when building in release mode.
    
        
file modified
+1 -1
file renamed
+3 -1