public GitStatusResponse getSingleFileStatus(File repositoryPath, GitStatusOptions options, File file)
    throws JavaGitException, IOException {
    CheckUtilities.checkNullArgument(repositoryPath, "RepositoryPath");
    CheckUtilities.checkFileValidity(repositoryPath);
    List<String> command  = buildCommandLine(options, null);
    GitStatusParser parser = new GitStatusParser(repositoryPath.getPath() + File.separator,
        file);

    return (GitStatusResponseImpl) ProcessUtilities.runCommand(repositoryPath, command, parser);
  }
public GitStatusResponse getSingleFileStatus(File repositoryPath, GitStatusOptions options, File file)
    throws JavaGitException, IOException {
    CheckUtilities.checkNullArgument(repositoryPath, "RepositoryPath");
    CheckUtilities.checkFileValidity(repositoryPath);
    List<String> command  = buildCommandLine(options, null);
    GitStatusParser parser = new GitStatusParser(repositoryPath.getPath() + File.separator,
        file);

    return (GitStatusResponseImpl) ProcessUtilities.runCommand(repositoryPath, command, parser);
  }
public GitStatusResponse getSingleFileStatus ( File repositoryPath , GitStatusOptions options , File file ) throws JavaGitException , IOException { CheckUtilities . checkNullArgument ( repositoryPath , "RepositoryPath" ) ; CheckUtilities . checkFileValidity ( repositoryPath ) ; List < String > command = buildCommandLine ( options , null ) ; GitStatusParser parser = new GitStatusParser ( repositoryPath . getPath ( ) + File . separator , file ) ; return ( GitStatusResponseImpl ) ProcessUtilities . runCommand ( repositoryPath , command , parser ) ; }
Return status for a single <code>File</code>

@param repositoryPath
Directory path to the root of the repository.
@param options
Options that are passed to &lt;git-status&gt; command.
@param file
<code>File</code> instance
@return <code>GitStatusResponse</code> object
@throws JavaGitException
Exception thrown if the repositoryPath is null
@throws IOException
Exception is thrown if any of the IO operations fail.
Return status for a single <code > File< / code >