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

git-filter-branch

From
Mike Hommey <mh@glandium.org>
Date
Aug 9, 2007, 06:34 UTC
Message-ID
<20070809063453.GA12602@glandium.org>
Hi,
What is supposed to be the usage() of git-fetch-branch ?

git-filter-branch itself says: git-filter-branch [-d TEMPDIR] [FILTERS] DESTBRANCH [REV-RANGE]

while the documentation doesn't explicitely talk about DESTBRANCH, expect in the form of an hypothetical /newbranch/, that you obviously don't give to the command line.

And whereas git-filter-branch itself says there is such an argument, it actually doesn't take it, and doesn't seem to be hardwired to create a new branch instead of overwriting the current one.

So what is git-filter-branch supposed to be doing ?

As a side note, if it ever happens that git-filter-branch can create a new branch, it might be nice to have each commit on the branch to have the original commit as parent, as well as its branch parent, so that they are seen as merges.

Cheers,
Mike
Next: Johannes Schindelin
Message 1 of 6 in “git-filter-branch”
  1. Mike HommeyAug 9, 2007
  2. Johannes SchindelinAug 9, 2007
  3. Mike HommeyAug 9, 2007
  4. Johannes SchindelinAug 9, 2007
  5. Mike HommeyAug 9, 2007
  6. Johannes SchindelinAug 9, 2007

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.