Re: [PATCH v3 0/8] Hiding refs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 9, 2013, 23:23 UTC
- Message-ID
- <7v38x5ul4s.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <87pq0c15h3.fsf@59A2.org>
Jed Brown <jed@59A2.org> writes:
> I believe that my use case would be well supported if git could push and > pull unadvertised refs, as long as basic operations were not slowed down > by the existence of a very large number of such refs.
I am not sure about "pushing" part, but the jc/fetch-raw-sha1 topic (split from the main jc/hidden-refs topic) should allow your script, after the client learns the set of smudged object names, to ask for
git fetch $there $sha1_1 $sha1_2 ...
or
git fetch $there $sha1_1:refs/fat/$sha1_1 $sha1_2:refs/fat/$sha1_2 ...
I think.