summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-06-10 05:29:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-10 05:29:26 (GMT)
commit41dd4330a1210003bd702ec4a9301ed68e60864d (patch)
tree40fe3d47e8fa8f84a6e209aa78c494d0bfe5a7a8
parent8d1b10321b20bd2a73a5b561cfc3cf2e8051b70b (diff)
parent16fbca07e295358406dfad88c4a9721f57357cbc (diff)
downloadgit-41dd4330a1210003bd702ec4a9301ed68e60864d.zip
git-41dd4330a1210003bd702ec4a9301ed68e60864d.tar.gz
git-41dd4330a1210003bd702ec4a9301ed68e60864d.tar.bz2
Merge branch 'master' of git://bogomips.org/git-svn
* 'master' of git://bogomips.org/git-svn: doc: describe git svn init --ignore-refs
-rw-r--r--Documentation/git-svn.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index 9bee9b0..fba0b4e 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -95,6 +95,10 @@ If you still want the old default, you can get it by passing
`--prefix ""` on the command line (`--prefix=""` may not work if
your Perl's Getopt::Long is < v2.37).
+--ignore-refs=<regex>;;
+ When passed to 'init' or 'clone' this regular expression will
+ be preserved as a config key. See 'fetch' for a description
+ of `--ignore-refs`.
--ignore-paths=<regex>;;
When passed to 'init' or 'clone' this regular expression will
be preserved as a config key. See 'fetch' for a description
@@ -138,6 +142,18 @@ the same local time zone.
--parent;;
Fetch only from the SVN parent of the current HEAD.
+--ignore-refs=<regex>;;
+ Ignore refs for branches or tags matching the Perl regular
+ expression. A "negative look-ahead assertion" like
+ `^refs/remotes/origin/(?!tags/wanted-tag|wanted-branch).*$`
+ can be used to allow only certain refs.
++
+[verse]
+config key: svn-remote.<name>.ignore-refs
++
+If the ignore-refs configuration key is set, and the command-line
+option is also given, both regular expressions will be used.
+
--ignore-paths=<regex>;;
This allows one to specify a Perl regular expression that will
cause skipping of all matching paths from checkout from SVN.