text: public Status call() throws GitAPIException, NoWorkTreeException {if (workingTreeIt == null)workingTreeIt = new FileTreeIterator(repo);try {IndexDiff diff = new IndexDiff(repo, Constants.HEAD, workingTreeIt);if (ignoreSubmoduleMode != null)diff.setIgnoreSubmoduleMode(ignoreSubmoduleMode);if (paths != null)diff.setFilter(PathFilterGroup.createFromStrings(paths));if (progressMonitor == null)diff.diff();elsediff.diff(progressMonitor, ProgressMonitor.UNKNOWN,ProgressMonitor.UNKNOWN, ""); return new Status(diff);} catch (IOException e) {throw new JGitInternalException(e.getMessage(), e);}}