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 .