Using grafts file to rewrite history

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Using grafts file to rewrite history

From: Peter Krefting <hidden>
Date: 2016-06-15 22:46:17

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/

Re: Using grafts file to rewrite history

From: Jeff King <hidden>
Date: 2016-06-15 22:46:17

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help