javagit/src/main/java/edu/nyu/cs/javagit/client/cli/CliGitStatus.java
private List<String> buildCommandLine(GitStatusOptions options, List<File> paths) {
    List<String> command = new ArrayList<String>();

    command.add(JavaGitConfiguration.getGitCommand());
    command.add("status");

    if (options != null) {
      setOptions(command, options);
    }

    if (paths != null) {
      for (File file : paths) {
        command.add(file.getPath());
      }
    }
    return command;
  }
private List<String> buildCommandLine(GitStatusOptions options, List<File> paths) {
    List<String> command = new ArrayList<String>();

    command.add(JavaGitConfiguration.getGitCommand());
    command.add("status");

    if (options != null) {
      setOptions(command, options);
    }

    if (paths != null) {
      for (File file : paths) {
        command.add(file.getPath());
      }
    }
    return command;
  }
Parses options provided by the <code>GitStatusOptions</code> object and adds them to the
command.

@param options
<code>GitStatusOptions</code> provided by &lt;gitclipse&gt;.
@param paths
List of file paths.
@return command to be executed.