From: Johannes Sixt Date: Wed, 26 Aug 2009 07:08:52 GMT Subject: Re: [PATCH] fix simple deepening of a repo Message-ID: <4A94DF84.4050906@viscovery.net> In-Reply-To: <20090826021057.GL1033@spearce.org> Shawn O. Pearce schrieb: > static void upload_pack(void) > { > reset_timeout(); > - head_ref(send_ref, NULL); > - for_each_ref(send_ref, NULL); > - packet_flush(1); > + head_ref(scan_ref, NULL); > + for_each_ref(scan_ref, NULL); > + > + push_advertise("HEAD"); > + push_advertise("refs/heads/*"); > + push_advertise("refs/tags/*"); > + send_refs(); > + How will this mesh with 'git clone --mirror'? Is the client expected to ask with 'expand refs/*'? -- Hannes