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

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

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Apr 27, 2011, 19:24 UTC
Message-ID
<BANLkTimPirVXdqwckoqEhU05iqvvpce-8g@mail.gmail.com>
In-Reply-To
<1303927684-6513-1-git-send-email-michael.ocleirigh@rivulet.ca>
Heya,

On Wed, Apr 27, 2011 at 20:08, Michael O'Cleirigh <michael.ocleirigh@rivulet.ca> wrote:

Show 10 quoted lines
> 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.

Meta nit: for a 1 patch series we would usually put this kind of introduction after the --- in the actual patch.

-- 
Cheers,

Sverre Rabbelier
Previous: Johannes Sixt
Message 4 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.