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

Re: Stitching histories of several repositories

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Dec 6, 2012, 00:00 UTC
Message-ID
<1887785531.19321537.1354752015863.JavaMail.root@dewire.com>
In-Reply-To
<CALkWK0kCQQioCeuwWAAWfKodvOR+w+hB=11MYs5mGviN6Zy5qA@mail.gmail.com>
----- Ursprungligt meddelande -----
Show 7 quoted lines
> Hi,
> 
> I've written a tool to stitch the first-parent histories of several
> git repositories.  To illustrate, consider that we have a toplevel
> git
> repository inside which the other repositories reside.
> 
[...]
Show 8 quoted lines
> 
> I'd like to know whether the tool would be useful to a wider
> audience,
> before I polish it and consider submitting it for inclusion in
> contrib/.  I think the tool is especially useful for running bisect
> and tracking bugs that occur in large projects that consist of many
> git repositories.  Will a unified log showing commits in different
> submodules be useful?

I think it is useful. I did something like that creating a super-repo for performing a bisect over EGit and JGit over a period over a year. I don't think I restricted myself to the first parent, which was probably a mistake.

The solution isn't perfect, but provided that is well-known you can live with that. A problem I found was that many stiches versions weren't even compilable so one might want to have the option of matching commits using a window of some sort to identify compilable combinations and have the ability to use only those for bisect. I'm not sure it's practical though.

-- robin
Previous: Ramkumar Ramachandra
Message 2 of 2 in “Stitching histories of several repositories”
  1. Ramkumar RamachandraDec 1, 2012
  2. Robin RosenbergDec 6, 2012

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.