patch-ids: replace the seen indicator with a commit pointer