Skip to content

Commit 0d351e9

Browse files
g-papegitster
authored andcommitted
git-svn: trailing slash in prefix is mandatory with --branches/-b
Make clear in the documentation that when using --branches/-b and --prefix with 'init', the prefix must include a trailing slash. This matches the actual behavior of git-svn, e.g.: $ git svn init -Ttrunk -treleases -bbranches --prefix xxx \ http://svn.sacredchao.net/svn/quodlibet/ --prefix='xxx' must have a trailing slash '/' $ This was noticed by R. Vanicat and reported through http://bugs.debian.org/429443 Signed-off-by: Gerrit Pape <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 09381b4 commit 0d351e9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Documentation/git-svn.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ COMMANDS
6666
to the names of remotes if trunk/branches/tags are
6767
specified. The prefix does not automatically include a
6868
trailing slash, so be sure you include one in the
69-
argument if that is what you want. This is useful if
70-
you wish to track multiple projects that share a common
71-
repository.
69+
argument if that is what you want. If --branches/-b is
70+
specified, the prefix must include a trailing slash.
71+
Setting a prefix is useful if you wish to track multiple
72+
projects that share a common repository.
7273

7374
'fetch'::
7475
Fetch unfetched revisions from the Subversion remote we are

0 commit comments

Comments
 (0)