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

Re: git-svn: What is --follow-parent / --no-follow-parent for?

From
Steven Michalske <smichalske@gmail.com>
Date
Nov 28, 2012, 10:18 UTC
Message-ID
<E58261F3-F7E6-4F5B-A2D7-71E808EC6071@gmail.com>
In-Reply-To
<20121120073153.GA340@localhost>
On Nov 19, 2012, at 11:31 PM, Sebastian Leske <Sebastian.Leske@sleske.name> wrote:
Show 21 quoted lines
> 
> Commit graph of git-svn result:
> 
> --follow-parent:               --no-follow-parent:
> 
> 
>       |                               |
>      /|                             | |
>     / |                             | |
>     | |                             | |
>     | |                             | |
>     | |                             | |
>     \ |                             | |
>      \|                             | |
>       |                               | 
> 
> 
> (please excuse cheap ASCII art)
> 
> Is that the only effect of --no-follow-parent? And again, why would I
> want that?

I suppose that you would want this for a SVN repo that holds many different and possibly loosely related projects. The you can apply git filter branch then to split them up cleanly.

e.g. Imagine that the two root commits of the branches do not have true common history.
Steve
Previous: Sebastian LeskeNext: Eric Wong
Message 2 of 4 in “git-svn: What is --follow-parent / --no-follow-parent for?”
  1. Sebastian LeskeNov 20, 2012
  2. Steven MichalskeNov 28, 2012
  3. Eric WongNov 28, 2012
  4. Sebastian LeskeNov 28, 2012

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.