public class BranchConfig
extends java.lang.Object
Constructor and Description |
---|
BranchConfig(Config config,
java.lang.String branchName)
Create a new branch config, which will read configuration from config
about specified branch.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRemoteTrackingBranch() |
java.lang.String |
getTrackingBranch() |
public BranchConfig(Config config, java.lang.String branchName)
config
- the config to read frombranchName
- the short branch name of the section to readpublic java.lang.String getTrackingBranch()
null
if it could
not be determinedpublic java.lang.String getRemoteTrackingBranch()
null
if it could
not be determined. If you also want local tracked branches use
getTrackingBranch()
instead.Copyright © 2012. All Rights Reserved.