Re: [PATCH v2 08/51] is_dup_ref(): extract function from sort_ref_array()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 12, 2011, 17:14 UTC
- Message-ID
- <7vaa6x67b9.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4EE5E918.8090104@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> 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.