[JENKINS-20086] Allow disabling use of default exclude patterns (.git, .svn, etc.)

yes you right, after some search I got a code example:
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/util/JenkinsReloadFailed/index.groovy