Unbelievable. Its working!!!!!
Many thanks Thomas, you have been a great help

It is even working with a complexer directory structure. I think with one 
try it didn't detect the correct parents, but if I choose one of the parent 
commits to be the last commit in the old repo, where all contents have been 
deleted, it will still be detected during the fake merge. Maybe the only 
down side of this approach is that you have to specify git log --follow 
instead of just git log. but never the less great solution.

For anyone in the future reading this and want to know which commits to use 
as parents and child in the graft point.  I searched for the first commit 
in the new repository where hundreds of files have been added and 
considered this as parent1. Its child commit in the new repository is the 
child in the graft point. Finally I chose the commit in the old repository 
where the same hundreds of files have been removed. If no such commit 
exists (I also have this case), then choose the last commit in the old repo

Maybe an even better approach would be to create a brand new merge commit 
to contain the files remove and add, and to replace the first commit in the 
new repository with this one.

Cheers



-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to