Flatten the repo