attr: remove index from git_attr_set_direction()