Skip to content

Commit 197a80d

Browse files
sleskegitster
authored andcommitted
git-svn: Expand documentation for --follow-parent
Describe what the option --follow-parent does, and what happens if it is set or unset. Signed-off-by: Sebastian Leske <[email protected]> Acked-by: Eric Wong <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 91583a6 commit 197a80d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

Documentation/git-svn.txt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,10 +621,19 @@ ADVANCED OPTIONS
621621
Default: "svn"
622622

623623
--follow-parent::
624+
This option is only relevant if we are tracking branches (using
625+
one of the repository layout options --trunk, --tags,
626+
--branches, --stdlayout). For each tracked branch, try to find
627+
out where its revision was copied from, and set
628+
a suitable parent in the first git commit for the branch.
624629
This is especially helpful when we're tracking a directory
625-
that has been moved around within the repository, or if we
626-
started tracking a branch and never tracked the trunk it was
627-
descended from. This feature is enabled by default, use
630+
that has been moved around within the repository. If this
631+
feature is disabled, the branches created by 'git svn' will all
632+
be linear and not share any history, meaning that there will be
633+
no information on where branches were branched off or merged.
634+
However, following long/convoluted histories can take a long
635+
time, so disabling this feature may speed up the cloning
636+
process. This feature is enabled by default, use
628637
--no-follow-parent to disable it.
629638
+
630639
[verse]

0 commit comments

Comments
 (0)