Re: How is working on arbitrary remote heads supposed to work in Cogito (+ PATCH)?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 28, 2005, 01:32 UTC
- Message-ID
- <7vll3rlnqm.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200507271458.43063.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes:
> As far as I can see, there is no support in core GIT to make this ever work > (at least with get-send-packs), as "git-send-pack" only updates a set of > heads with the same name both locally and remote.
Yes, it is my understanding that "clone" means to literally clone, not "pull into an empty repository with renamed head names", to the core GIT. I do not speak for Pasky, but Cogito's "clone" seems to have a bit different semantics (which I suspect is more friendly to the users in many situations).
Similarly, "push" to the core GIT (that is what git-send-pack is about) means performing a subset of "clone" in reverse. This is primarily to synchronise two repositories owned by a single person.