git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Joining Repositories

From
Junio C Hamano <junkio@cox.net>
Date
Jan 19, 2006, 02:12 UTC
Message-ID
<7v64ohotjj.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vbqy9xx2r.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 8 quoted lines
> Linus Torvalds <torvalds@osdl.org> writes:
>
>> Now, let's see what Junio comes up with,...
>
> Well, since the reason the original RFI came was...
> ...
> So for this case, I think the "coolest merge" is the right
> thing to do.

I said this only because I wanted to recommend a solution available today to the original requester.

If I were to talk about (one potential) future solution, I would say "bind" commit would work naturally for this case, without disrupting the development histories of the projects being combined. After all, the "bind" commit approach is not much different from what you did with "the coolest merge ever", with a few twists, such as (1) not overlaying but requiring each subproject to be bound at a non-overlapping subdirectory, and (2) letting a subproject keep its own independent history that does not know about other subprojects even after combination happens (as opposed to the coolest merge, after which there is no git history that does not have gitk as its part).

Of course, "gitlink" would equally work well and have similar characteristics. The implementation details will certainly differ and the user interaction may somewhat be different as well, but I do not think of any reason either approach would not work well in this situation.

So would Cogito subprojects support (will it be in the 0.17?), but it might look less powerful when compared with the "bind" or "gitlink", if it comes in the form of the patch Pasky sent to the list, since it does not attempt to tie the versions of two projects together. Certainly that makes it the easiest to use and understand what is going on, though.

Previous: Linus TorvaldsNext: Petr Baudis
Message 22 of 25 in “Joining Repositories”
  1. Mathias WaackJan 18, 2006
  2. Petr BaudisJan 18, 2006
  3. Petr BaudisJan 18, 2006
  4. Mathias WaackJan 18, 2006
  5. Petr BaudisJan 18, 2006
  6. Mathias WaackJan 19, 2006
  7. Junio C HamanoJan 19, 2006
  8. Andreas EricssonJan 18, 2006
  9. Ryan AndersonJan 18, 2006
  10. Petr BaudisJan 18, 2006
  11. Ryan AndersonJan 18, 2006
  12. Linus TorvaldsJan 18, 2006
  13. Petr BaudisJan 18, 2006
  14. Junio C HamanoJan 18, 2006
  15. Linus TorvaldsJan 18, 2006
  16. Junio C HamanoJan 18, 2006
  17. Linus TorvaldsJan 18, 2006
  18. Junio C HamanoJan 18, 2006
  19. Linus TorvaldsJan 18, 2006
  20. Linus TorvaldsJan 18, 2006
  21. Linus TorvaldsJan 18, 2006
  22. Junio C HamanoJan 19, 2006
  23. Petr BaudisJan 19, 2006
  24. Ryan AndersonJan 18, 2006
  25. H. Peter AnvinJan 18, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.