List of usage examples for org.eclipse.jgit.api StatusCommand addPath
public StatusCommand addPath(String path)
From source file:com.centurylink.mdw.dataaccess.file.VersionControlGit.java
License:Apache License
public Status getStatus(String path) throws Exception { fetch();//from w w w. ja va2s .c o m StatusCommand sc = git.status(); if (path != null) sc.addPath(path); return sc.call(); }