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

merging git repositories history for full history of linux

From
YPYoann Padioleau <padator@wanadoo.fr>
Date
Mar 24, 2008, 18:56 UTC
Message-ID
<87iqzcne7b.fsf@wanadoo.fr>
Hi, 

I would like to merge the 3 git repositories of the history of linux, the one by Dave Jones from linux 0.01 to linux 2.4.0, the one by tglx from 2.4.0 to 2.6.12 and the one from 2.6.12 by torvalds until the last version of Linux.

Right now there are 3 repos and I would like only one. I made some scripts to create a fresh repo, and incorporate each commit from the 3 repositories mentionned above (getting the changelog, setting the date), but it takes lots of time because for instance I can not use the git log -p commitid because the patch can not be applied as is. So I usually do a checkout for each commitid and do a manual diff to generate a patch and apply it to my fresh repo.

Is there a magic command that makes this possible efficiently ?
Next: Junio C Hamano
Message 1 of 3 in “merging git repositories history for full history of linux”
  1. Yoann PadioleauMar 24, 2008
  2. Junio C HamanoMar 24, 2008
  3. Yoann PadioleauMar 24, 2008

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.