Ignore remote/symbolic refs when creating repository's refs_hash
When constructing the mapping of SHA IDs to ref names, the code tries to gather all the ref names in the repository but fails if the reference symbolically links one ref to another (e.g. refs/remotes/origin/HEAD
-> refs/remotes/origin/master
). Skip over these references since they don't have a valid OID to follow.
Closes gitlab-org/gitlab-ce#745