Examples of StoredConfig


Examples of org.eclipse.jgit.lib.StoredConfig

        throw new RuntimeException(e);
      }

      GitConfigSharedRepository sharedRepository = new GitConfigSharedRepository(shared);
      if (sharedRepository.isShared()) {
        StoredConfig config = repo.getConfig();
        config.setString("core", null, "sharedRepository", sharedRepository.getValue());
        config.setBoolean("receive", null, "denyNonFastforwards", true);
        config.save();

        if (! JnaUtils.isWindows()) {
          Iterator<File> iter = org.apache.commons.io.FileUtils.iterateFilesAndDirs(repo.getDirectory(),
              TrueFileFilter.INSTANCE, TrueFileFilter.INSTANCE);
          // Adjust permissions on file/directory
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.