dir: convert dir_add* to take an index
[git] / t / t5100 / patch0008