* Using grafts file to rewrite history
@ 2009-02-25 5:29 Peter Krefting
2009-02-25 6:10 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Peter Krefting @ 2009-02-25 5:29 UTC (permalink / raw)
To: Git Mailing List
Hi!
My googling powers have yet eluded to find me an answer to this:
Given an (unpublished) Git repository and a "grafts" file that slightly
re-orders commits, how do I reprocess this repository (using
git-filter-branch, probably) to have a true history according to the
"grafts" file?
I am trying to use git-import-tars to import non-linear development
history, and then use a grafts file to find the "proper" history. I
would like to re-order the history before i publish it in a public Git
repository.
--
\\// Peter - http://www.softwolves.pp.se/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Using grafts file to rewrite history
2009-02-25 5:29 Using grafts file to rewrite history Peter Krefting
@ 2009-02-25 6:10 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2009-02-25 6:10 UTC (permalink / raw)
To: Peter Krefting; +Cc: Git Mailing List
On Wed, Feb 25, 2009 at 06:29:46AM +0100, Peter Krefting wrote:
> Given an (unpublished) Git repository and a "grafts" file that slightly
> re-orders commits, how do I reprocess this repository (using
> git-filter-branch, probably) to have a true history according to the
> "grafts" file?
Running filter-branch at all will glue the grafts together. It is even
one of the examples given in the git-filter-branch(1) manpage.
-Peff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-25 6:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-25 5:29 Using grafts file to rewrite history Peter Krefting
2009-02-25 6:10 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).