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

[RFC PATCH 0/3] Submodule filtering for filter-branch

From
Thomas Rast <trast@student.ethz.ch>
Date
Dec 31, 2010, 15:29 UTC
Message-ID
<cover.1293809100.git.trast@student.ethz.ch>

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
Next: Thomas Rast
Message 1 of 11 in “Submodule filtering for filter-branch”
  1. 0/3 Submodule filtering for filter-branchThomas Rast, Dec 31, 2010
  2. 1/3 filter-branch: optionally dump all mappings at the endThomas Rast, Dec 31, 2010
  3. Johannes SixtDec 31, 2010
  4. 2/3 filter-branch: optionally load existing mappings prior to filteringThomas Rast, Dec 31, 2010
  5. Johannes SixtDec 31, 2010
  6. 3/3 filter-branch: support --submodule-filterThomas Rast, Dec 31, 2010
  7. Johannes SixtDec 31, 2010
  8. Jeffrey Phillips FreemanJan 3, 2011
  9. Thomas RastJan 4, 2011
  10. Junio C HamanoJan 4, 2011
  11. Johannes SixtDec 31, 2010

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.