Jeffrey Phillips Freeman aka tty1 asked on IRC about a way to fix the
super-project after rewriting submodules. This quick series provides
some extra tricks in the filter-branch toolbox that can be plumbed
together to achieve this (see the last commit's message), and should
hopefully be general enough to be of other use too.
Comes without docs and tests at this point, hence RFC. It's also only
lightly tested, but since Jeffrey has a use-case, I'll leave it up to
him to bend it a bit and see if anything breaks.
Thomas Rast (3):
filter-branch: optionally dump all mappings at the end
filter-branch: optionally load existing mappings prior to filtering
filter-branch: support --submodule-filter
git-filter-branch.sh | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 64 insertions(+), 0 deletions(-)
--
1.7.4.rc0.240.g44e61