JGit

class JGit4MATLAB.JGit

The JGit class is a thin wrapper around the JGit Git API.

Properties

All of JGit properties are constant.

JGit.VALID

State of JGit4MATLAB. True if state is valid. Calls validateJavaClassPath().

JGit.EDITOR

Editor used for commit messages. Calls getEDITOR().

JGit.GIT_DIR

Git repository folder, set to .git.

JGit.JGIT

JGit package name, set to org.eclipse.jgit.

JGit.PROGRESSMONITOR

Java jar package with MATLABProgressMonitor, replaces \r with \b in progress reports.

JGit.USERINFOSSHSESSIONFACTORY

Java jar package with UserInfoSshSessionFactory, a custom SshSessionFactory, configures a CredentialProvider to provide SSH passphrase for Jsch, registers itself as the default SshSessionFactory instance.

JGit.VERFILE

File storing JGit package version.

JGit.VERSION

JGit version string.

JGit.USERHOME

User home, set to org.eclipse.jgit.util.FS.DETECTED.userHome

JGit.GITCONFIG

Global git config file found in USERHOME, set to .gitconfig.

JGit.JSCH_USERINFO

Global Jsch userinfo file with SSH passphrase, set to .jsch-userinfo

Methods

All of JGit methods are static.

JGit.validateJavaClassPath()

Validate MATLAB static Java class path. Returns true if the JGit package jar-file is in the @JGit folder and on the MATLAB static Java class path. Downloads current version of JGit and/or adds it to the MATLAB static Java class path if false.

Table Of Contents

Previous topic

Developers

Next topic

JGit.add

This Page