public GitAddResponse add(File repositoryPath, File file) throws JavaGitException, IOException {
        List<File> filePaths = new ArrayList<File>();
        filePaths.add(file);
        GitAddOptions options = null;
        return add(repositoryPath, options, filePaths);
    }
public GitAddResponse add(File repositoryPath, File file) throws JavaGitException, IOException {
        List<File> filePaths = new ArrayList<File>();
        filePaths.add(file);
        GitAddOptions options = null;
        return add(repositoryPath, options, filePaths);
    }
public GitAddResponse add ( File repositoryPath , File file ) throws JavaGitException , IOException { List < File > filePaths = new ArrayList < File > ( ) ; filePaths . add ( file ) ; GitAddOptions options = null ; return add ( repositoryPath , options , filePaths ) ; }
Adds one file to the index with no GitAddOptions.
Adds one file to the index with no GitAddOptions .