org.eclipse.jgit.lib
Class BranchConfig
java.lang.Object
org.eclipse.jgit.lib.BranchConfig
public class BranchConfig
- extends Object
Branch section of a Git configuration file.
Constructor Summary |
BranchConfig(Config config,
String branchName)
Create a new branch config, which will read configuration from config
about specified branch. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BranchConfig
public BranchConfig(Config config,
String branchName)
- Create a new branch config, which will read configuration from config
about specified branch.
- Parameters:
config
- the config to read frombranchName
- the short branch name of the section to read
getRemoteTrackingBranch
public String getRemoteTrackingBranch()
- Returns:
- the full remote-tracking branch name or
null
if it
could not be determined
Copyright © 2012. All Rights Reserved.