public GitAddResponse addDryRun ( File repositoryPath , List < File > paths ) throws JavaGitException , IOException { GitAddOptions options = new GitAddOptions ( ) ; options . setDryRun ( true ) ; return add ( repositoryPath , options , paths ) ; }
Implementation of &lt ; git - add&gt ; dry run .