public void addToNewFilesToCommit ( File file ) { newFilesToCommit . add ( file ) ; fileToStatus . put ( file , Status . NEW_TO_COMMIT ) ; }
Adds a file to the list of new files that are ready to be committed next time &lt ; git - commit&gt ; command is run .