Remove unneeded refresh index call
Add useIndex option to getLineDiffs

Refs #14