From: Vitaly \"_Vi\" Shukela Date: Sun, 25 Jan 2009 22:21:41 +0000 (+0200) Subject: git-svn: documented --ignore-paths X-Git-Tag: v1.6.2-rc0~85^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6076b843a0a15d344f367ac46645eb864085477c;p=git.git git-svn: documented --ignore-paths Documented --ignore-paths option of git-svn to inform users about the feature and provide some examples. Signed-off-by: Vitaly "_Vi" Shukela Acked-by: Eric Wong [ew: trailing whitespace removed] --- diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt index 63d2f5e96..7b654f792 100644 --- a/Documentation/git-svn.txt +++ b/Documentation/git-svn.txt @@ -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=;; + 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;