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