public void addToModifiedFilesToCommit(File file) {
    modifiedFilesToCommit.add(file);
    fileToStatus.put(file, Status.MODIFIED_TO_COMMIT);
  }
public void addToModifiedFilesToCommit(File file) {
    modifiedFilesToCommit.add(file);
    fileToStatus.put(file, Status.MODIFIED_TO_COMMIT);
  }
public void addToModifiedFilesToCommit ( File file ) { modifiedFilesToCommit . add ( file ) ; fileToStatus . put ( file , Status . MODIFIED_TO_COMMIT ) ; }
Adds a file to list of files that are modified and will be committed next time
&lt;git-commit&gt; is run.

@param file
<code>File</code> to be added to the list.
Adds a file to list of files that are modified and will be committed next time &lt ; git - commit&gt ; is run .