Added diff command for cached (index)