]> Pileus Git - ~andy/git/commitdiff
git-svn: documented --ignore-paths
authorVitaly \"_Vi\" Shukela <public_vi@tut.by>
Sun, 25 Jan 2009 22:21:41 +0000 (00:21 +0200)
committerEric Wong <normalperson@yhbt.net>
Mon, 26 Jan 2009 01:01:47 +0000 (17:01 -0800)
Documented --ignore-paths option of git-svn to inform users about
the feature and provide some examples.

Signed-off-by: Vitaly "_Vi" Shukela <public_vi@tut.by>
Acked-by: Eric Wong <normalperson@yhbt.net>
[ew: trailing whitespace removed]

Documentation/git-svn.txt

index 63d2f5e962961eaba5344f8e42463485319c2670..7b654f7928c668abec364a33478ed4be70dfb01a 100644 (file)
@@ -103,6 +103,19 @@ repository to be able to interoperate with someone else's local Git
 repository, either don't use this option or you should both use it in
 the same local timezone.
 
+--ignore-paths=<regex>;;
+       This allows one to specify Perl regular expression that will
+       cause skipping of all matching paths from checkout from SVN.
+       Examples:
+
+       --ignore-paths="^doc" - skip "doc*" directory for every fetch.
+
+       --ignore-paths="^[^/]+/(?:branches|tags)" - skip "branches"
+           and "tags" of first level directories.
+
+       Regular expression is not persistent, you should specify
+       it every time when fetching.
+
 'clone'::
        Runs 'init' and 'fetch'.  It will automatically create a
        directory based on the basename of the URL passed to it;