code: private void addDryRun(GitAddOptions options, GitAddResponseImpl response) {
          if (options.dryRun()) {
              response.setDryRun(true);
          }
      }
docs: if the dry run option was selected then set the flag in response.
  
  @param options  <code>GitAddOptions</code>
  @param response <code>gitAddResponse</code>