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

[PATCH 0/1] Add new --index-filter example to git-filter-branch.txt

From
Michael O'Cleirigh <michael.ocleirigh@rivulet.ca>
Date
Apr 27, 2011, 18:08 UTC
Message-ID
<1303927684-6513-1-git-send-email-michael.ocleirigh@rivulet.ca>

At work I patched git with the prevously sent --egrep-filter patch that allows an irregular history to be retained, like where code reorganization occured and you want to keep the history from the original locations.

The comments I recieved at that time was that my case was an --index-filter variant.

I've reworked it into an --index-filter using the $GIT_COMMIT variable, tested that it works, and have added it as an example to the git-filter-branch documentation.

Michael O'Cleirigh (1):
  Documentation/git-filter-branch: add --index-filter example
 Documentation/git-filter-branch.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
-- 
1.7.2.3
Next: Michael O'Cleirigh
Message 1 of 4 in “Add new --index-filter example to git-filter-branch.txt”
  1. 0/1 Add new --index-filter example to git-filter-branch.txtMichael O'Cleirigh, Apr 27, 2011
  2. 1/1 Documentation/git-filter-branch: add --index-filter exampleMichael O'Cleirigh, Apr 27, 2011
  3. Johannes SixtApr 27, 2011
  4. Sverre RabbelierApr 27, 2011

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.