Ability to disable credential helper provided by TeamCity
[teamcity/git-plugin.git] / git-agent / src / jetbrains / buildServer / buildTriggers / vcs / git / agent / UpdaterImpl.java
index 40e2ae3f3a013a23388a0cdaba602dcea30207de..cc1b13c2c21bb8f5faa7aa980ab32e665e6e4382 100644 (file)
@@ -863,6 +863,8 @@ public class UpdaterImpl implements Updater {
 
 
   private void configureLFS(@NotNull BaseCommand command) {
+    if (!myPluginConfig.isProvideCredHelper())
+      return;
     Trinity<String, String, String> lfsAuth = getLfsAuth();
     if (lfsAuth == null)
       return;