diff options
author | Gerrit Pape <pape@smarden.org> | 2007-06-19 16:47:41 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-24 02:37:40 -0700 |
commit | 0d351e9ca23ea3be9aa7631b1b548f5d75f01a13 (patch) | |
tree | 6259f173a7986a8361dbfc4f7537c91abcebf72d | |
parent | new-workdir: handle rev-parse --git-dir not always giving full path (diff) | |
download | tgif-0d351e9ca23ea3be9aa7631b1b548f5d75f01a13.tar.xz |
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 <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | Documentation/git-svn.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt index c0d7d9597b..0a210e4bea 100644 --- a/Documentation/git-svn.txt +++ b/Documentation/git-svn.txt @@ -66,9 +66,10 @@ COMMANDS to the names of remotes if trunk/branches/tags are specified. The prefix does not automatically include a trailing slash, so be sure you include one in the - argument if that is what you want. This is useful if - you wish to track multiple projects that share a common - repository. + argument if that is what you want. If --branches/-b is + specified, the prefix must include a trailing slash. + Setting a prefix is useful if you wish to track multiple + projects that share a common repository. 'fetch':: Fetch unfetched revisions from the Subversion remote we are |