From: Junio C Hamano Date: Mon, 21 Jan 2013 23:33:46 GMT Subject: Re: [PATCH 0/2] Hiding some refs in ls-remote Message-ID: <7v38xuf6w5.fsf@alter.siamese.dyndns.org> In-Reply-To: <20130121230108.GB17156@sigill.intra.peff.net> Jeff King writes: >> 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.