Re: [PATCH] fix simple deepening of a repo
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Aug 26, 2009, 07:08 UTC
- Message-ID
- <4A94DF84.4050906@viscovery.net>
- In-Reply-To
- <20090826021057.GL1033@spearce.org>
Shawn O. Pearce schrieb:
Show 14 quoted lines
> 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