Re: [PATCH 11/16] Add namespace support to dumb-clone

2016-07-29 Thread Jason A. Donenfeld
On Sat, Jul 16, 2016 at 12:59 AM, Richard Maw wrote: > + unsigned char unused[20]; > + char *namespaced_head = NULL; > + const char *ref; > + namespaced_head = mkpathdup("%sHEAD", get_git_namespace()); > + /* NOTE: RESOLVE_REF_N

[PATCH 11/16] Add namespace support to dumb-clone

2016-07-15 Thread Richard Maw
This requires namespacing the HEAD symbolic ref and the list of refs. Sending HEAD required some tweaking, since the file itself refers to a namespaced ref, but we want to provide the ref with its namespace stripped off. Signed-off-by: Richard Maw --- ui-clone.c | 23 ++- 1