diff: convert reuse_worktree_file to struct object_id