applypatch: use "index" lines not "applies-to".