diff options
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java index 8c17b0afb8..7d7eb1871f 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java @@ -95,8 +95,11 @@ public class StatusCommand extends GitCommand<Status> { * method is not called a standard {@link FileTreeIterator} is used. * * @param workingTreeIt + * a working tree iterator + * @return {@code this} */ - public void setWorkingTreeIt(WorkingTreeIterator workingTreeIt) { + public StatusCommand setWorkingTreeIt(WorkingTreeIterator workingTreeIt) { this.workingTreeIt = workingTreeIt; + return this; } } |