public class BranchTrackingStatus extends Object
| Modifier and Type | Method and Description | 
|---|---|
int | 
getAheadCount()  | 
int | 
getBehindCount()  | 
String | 
getRemoteTrackingBranch()  | 
static BranchTrackingStatus | 
of(Repository repository,
  String branchName)
Compute the tracking status for the  
branchName in
 repository. | 
public static BranchTrackingStatus of(Repository repository, String branchName) throws IOException
branchName in
 repository.repository - the git repository to compute the status frombranchName - the local branchIOExceptionpublic String getRemoteTrackingBranch()
public int getAheadCount()
public int getBehindCount()
Copyright © 2016 Eclipse JGit Project. All rights reserved.