Michael Haggerty [off-list ref] writes:
Extra refs are created locally by other git code that I am not familiar
with, so duplicate extra refs could only be created by a bug in git.
I think we already discussed this, but just in case you forgot. They are
used to tell git to treat as if objects in histories leading to certain
commits are complete and available, i.e. only their object names matter
and the refname field is primarily for debugging. It would be a grave
regression if you errored out seeing duplicate names in them.