Do not store duplicate SHAs from commits