git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Using grafts file to rewrite history

From
Peter Krefting <peter@softwolves.pp.se>
Date
Feb 25, 2009, 05:29 UTC
Message-ID
<Pine.LNX.4.64.0902250626300.9572@ds9.cixit.se>
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/
Next: Jeff King
Message 1 of 2 in “Using grafts file to rewrite history”
  1. Peter KreftingFeb 25, 2009
  2. Jeff KingFeb 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.