Resolve lines into the changes