enable update of cloned git repositories by default if checking for changes responsib...
authorpavel.sher <pavel.sher@jetbrains.com>
Wed, 5 Dec 2018 22:32:17 +0000 (23:32 +0100)
committerpavel.sher <pavel.sher@jetbrains.com>
Wed, 5 Dec 2018 22:32:17 +0000 (23:32 +0100)
git-server-tc/src/jetbrains/buildServer/buildTriggers/vcs/git/GitClonesUpdater.java

index 004cf68c6c9d11289a6e0cc7b1704a754d5e68e6..452a66655bc83faa8484151f3ad59b2baabc95d2 100644 (file)
@@ -54,7 +54,7 @@ public class GitClonesUpdater {
                                          @NotNull final RepositoryState newState) {
         if (serverResponsibility.canCheckForChanges()) return;
 
-        if (!TeamCityProperties.getBoolean("teamcity.git.localClones.updateIfNoCheckingForChangesResponsibility")) return;
+        if (!TeamCityProperties.getBooleanOrTrue("teamcity.git.localClones.updateIfNoCheckingForChangesResponsibility")) return;
 
         if (root.getVcsName().equals(Constants.VCS_NAME)) {
           myScheduledForUpdate.put(root, RepositoryStateFactory.toData(newState));