Unconfuse git clone when two branches at are HEAD.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | upload-pack: send the HEAD informationupload-pack.c | +6 | 14 replies | |
| 2/3 | connect.c: save symref info from server capabilitiesconnect.c | +9 | 3 replies | |
| 3/3 | clone: test the new HEAD detection logict/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Unconfuse git clone when two branches at are HEAD.
Ok, here are some patches that make git actually
check out the current remote branch when cloning.
Up to now this failed when there were two branches that pointed to the HEAD commit of the remote repo, and git clone would sometimes choose the wrong one as the HEAD ref isn't transmitted in all transport.
Stuff the HEAD ref into the capability list (assuming refs are clean enough to do that w/o escaping), and read them out on the other side. All other things were thankfully already in place.
Two of the patches have Junio in the From as they are essentially his.
Andreas