org.eclipse.jgit.lib
Class BranchConfig

java.lang.Object
  extended by 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.
 
Method Summary
 String getRemoteTrackingBranch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 from
branchName - the short branch name of the section to read
Method Detail

getRemoteTrackingBranch

public String getRemoteTrackingBranch()
Returns:
the full remote-tracking branch name or null if it could not be determined


Copyright © 2012. All Rights Reserved.