Class GitUtils

java.lang.Object
org.craftercms.commons.git.utils.GitUtils
org.craftercms.studio.impl.v2.utils.GitUtils

public abstract class GitUtils extends org.craftercms.commons.git.utils.GitUtils
Common operations related to git
Since:
4.0
Author:
joseross
  • Field Summary

    Fields inherited from class org.craftercms.commons.git.utils.GitUtils

    BIG_FILE_THRESHOLD_CONFIG_PARAM, BIG_FILE_THRESHOLD_DEFAULT, COMPRESSION_CONFIG_PARAM, COMPRESSION_DEFAULT, CORE_CONFIG_SECTION, FILE_MODE_CONFIG_PARAM, FILE_MODE_DEFAULT, GIT_FOLDER_NAME, GIT_INDEX_NAME, GIT_LOCK_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<String>
    getChangedFiles(org.eclipse.jgit.api.Git git, String initialId, String finalId, String[] patterns)
     
    static List<String>
    getChangedFiles(org.eclipse.jgit.api.Git git, org.eclipse.jgit.lib.ObjectId initialId, org.eclipse.jgit.lib.ObjectId finalId, String[] patterns)
     
    static void
    translateException(org.eclipse.jgit.api.errors.TransportException e, org.slf4j.Logger logger, String remoteName, String remoteUrl, String remoteUsername)
     

    Methods inherited from class org.craftercms.commons.git.utils.GitUtils

    cleanup, cloneRemoteRepository, deleteFile, deleteGitIndex, discardAllChanges, doDiff, getTreeForCommit, getTreeIteratorForCommit, isRepositoryLocked, openRepository, pull, push, unlock

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait