doc: describe git svn init --ignore-refs

Add the missing documentation for `git svn init --ignore-refs`. Signed-off-by: Andreas Heiduk <asheiduk@gmail.com> Signed-off-by: Eric Wong <e@80x24.org>

Andreas Heiduk committed Jun 7, 2017 at 20:32 UTC 16fbca07e295358406dfad88c4a9721f57357cbc
1 file changed +16
Documentation/git-svn.txt
+16
@@ -95,6 +95,10 @@ If you still want the old default, you can get it by passing
95 `--prefix ""` on the command line (`--prefix=""` may not work if
96 your Perl's Getopt::Long is < v2.37).
97
98 +--ignore-refs=<regex>;;
99 + When passed to 'init' or 'clone' this regular expression will
100 + be preserved as a config key. See 'fetch' for a description
101 + of `--ignore-refs`.
102 --ignore-paths=<regex>;;
103 When passed to 'init' or 'clone' this regular expression will
104 be preserved as a config key. See 'fetch' for a description
@@ -138,6 +142,18 @@ the same local time zone.
142 --parent;;
143 Fetch only from the SVN parent of the current HEAD.
144
145 +--ignore-refs=<regex>;;
146 + Ignore refs for branches or tags matching the Perl regular
147 + expression. A "negative look-ahead assertion" like
148 + `^refs/remotes/origin/(?!tags/wanted-tag|wanted-branch).*$`
149 + can be used to allow only certain refs.
150 ++
151 +[verse]
152 +config key: svn-remote.<name>.ignore-refs
153 ++
154 +If the ignore-refs configuration key is set, and the command-line
155 +option is also given, both regular expressions will be used.
156 +
157 --ignore-paths=<regex>;;
158 This allows one to specify a Perl regular expression that will
159 cause skipping of all matching paths from checkout from SVN.