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

Re: is it possible filter the revision history of a single file into another repository?

From
Thomas Jarosch <thomas.jarosch@intra2net.com>
Date
Dec 19, 2008, 09:44 UTC
Message-ID
<200812191044.47830.thomas.jarosch@intra2net.com>
In-Reply-To
<8ec76080812181151y4a5a6f5cna57785c935032e77@mail.gmail.com>
On Thursday, 18. December 2008 20:51:38 Whit Armstrong wrote:
Show 5 quoted lines
> Sorry, seem to be getting this error:
> `/home/whit/dvl/risk.metrics.utils/RiskMetrics/.git-rewrite/t/../index.new'
>: No such file or directory
>
> do I need to set up the index file first?

Hmm, I guess you have an empty commit in your repository like I did. This is currently a corner case in update-index, which does not create empty index files. I posted a patch a few days ago and Junio posted an updated version of that. I could send you my version for git 1.6.0.5 if you need it.

> Is there a good site that documents this procedure?
A good start is the git-filter-branch man page and the mailinglist archive.
Thomas
Previous: Whit ArmstrongNext: Whit Armstrong
Message 5 of 8 in “is it possible filter the revision history of a single file into another repository?”
  1. Whit ArmstrongDec 18, 2008
  2. Thomas JaroschDec 18, 2008
  3. Whit ArmstrongDec 18, 2008
  4. Whit ArmstrongDec 18, 2008
  5. Thomas JaroschDec 19, 2008
  6. Whit ArmstrongDec 19, 2008
  7. Thomas JaroschDec 19, 2008
  8. Sverre RabbelierDec 18, 2008

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.