question: public void revert ( final VirtualFile root , final List < FilePath > files ) throws VcsException { for ( List < String > paths : VcsFileUtil . chunkPaths ( root , files ) ) { GitSimpleHandler handler = new GitSimpleHandler ( myProject , root , GitCommand . CHECKOUT ) ; handler . addParameters ( "HEAD" ) ; handler . endOptions ( ) ; handler . addParameters ( paths ) ; handler . run ( ) ; } }
target:  Reverts the list of files we are passed.