|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.lib.BranchConfig
public class BranchConfig
Branch section of a Git configuration file.
| Constructor Summary | |
|---|---|
BranchConfig(Config config,
java.lang.String branchName)
Create a new branch config, which will read configuration from config about specified branch. |
|
| Method Summary | |
|---|---|
java.lang.String |
getRemoteTrackingBranch()
|
java.lang.String |
getTrackingBranch()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BranchConfig(Config config,
java.lang.String branchName)
config - the config to read frombranchName - the short branch name of the section to read| Method Detail |
|---|
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||