Re: grafts+repack+prune = history at danger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <junkio@xxxxxxx> wrote:

> grafts are local matter for archaeologist's convenience to glue
> two independent histories together, and not much more. 

I've found them useful for doing imports from CVS.  You run
git-cvsimport, and then manually find the places where merges happened
and record them as grafts.  gitk then correctly displays the history,
which is nice.

What you then do is run cg-admin-rewritehist, which magically transforms
the history into one with the grafts etched in.  All that remains is to
translate the refs, which you can do with a sed script you got
cg-admin-rewritehist to write for you.

-- [mdw]
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]