Re: Tag peeling peculiarities
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 13, 2013, 17:29 UTC
- Message-ID
- <7vwqtb2ood.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <51409439.5090001@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
> It is not > clear to me whether the prohibition of tags outside of refs/tags should > be made more airtight or whether the peeling of tags outside of > refs/tags should be fixed.
Retroactively forbidding presense/creation of tags outside the designated refs/tags hierarchy will not fly. I think we should peel them when we are reading from "# pack-refs with: peeled" version.
Theoretically, we could introduce "# pack-refs with: fully-peeled" that records peeled versions for _all_ annotated tags even in unusual places, but that would be introducing problems to existing versions of the software to cater to use cases that is not blessed officially, so I doubt it has much value.