Added the ability to only change files and not write to the index