Thread (1 message) 1 message, 1 author, 2016-06-15

Re: merging git repositories history for full history of linux

From: Yoann Padioleau <hidden>
Date: 2016-06-15 22:44:25

Junio C Hamano [off-list ref] writes:
Yoann Padioleau [off-list ref] writes:
quoted
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.
I think you can install two grafts (one that says the root in tglx history
has one parent that is tip of Dave Jones history, another that says that
the 2.6.12-rc2 commit which is the root in Linus history has one parent
that is near the tip of tglx history), and if you want the result to use
locally then you are done.  Otherwise you can run filter-branch on the
result, but the future commits from Linus tree will all be different.
Thanks, I'll try that. 

Also the Dave jones commits have the wrong date. All the 1040 commits
are set to December 2007. I can get all the dates for the different
versions of Linux but is there an easy way then to change the date for
those 1040 commitid ? and also author ? The reasons for this is I want
to use 'git annotate' on the full history of Linux to do some statistics
about the evolution of Linux so I need the good date for each commit.

Also, why the diff produce by git log -p can not be applied as 
is on another git repositories ? I tried to do a script that just
duplicate a git repository by getting the patch for each commit
with 'git log -p' and applies them in turn to a fresh repo with
git applypatch but it fails, git returns some error such as 
"b/Makefile already exist".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help