Re: [PATCH 0/2] Hiding some refs in ls-remote
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 21, 2013, 23:33 UTC
- Message-ID
- <7v38xuf6w5.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130121230108.GB17156@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
>> It may even make sense to have "git push" honor it, excluding them >> from "git push --mirror" (or "git push --all" if some of the >> branches are hidden); I haven't thought things through, though. > > That is harder, as that is something that happens on the client. How > does the client learn about the transfer.hiderefs setting on the remote?
No, I was talking about running "git push" from a repository that has the transfer.hiderefs set, emulating a fetch from a client by pushing out in the reverse direction.