merge.c: remove implicit dependency on the_index