From: Sverre Rabbelier Date: Wed, 27 Apr 2011 19:24:44 GMT Subject: Re: [PATCH 0/1] Add new --index-filter example to git-filter-branch.txt Message-ID: 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 wrote: > 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