diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-25 22:27:52 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-25 22:27:52 -0800 |
commit | afc72747049af5775ab9def6224dd8082d42a57f (patch) | |
tree | 6a7dbfa516319e8379d727d357fb0a454f068e66 /Documentation | |
parent | 277d7e91ae6afbe1b7aa7496320d43fd3f59f7ec (diff) | |
parent | 242522d9cc9b04c4db3baf7e97135d21401c1827 (diff) | |
download | git-afc72747049af5775ab9def6224dd8082d42a57f.tar.gz |
Merge git://git.bogomips.org/git-svn
* git://git.bogomips.org/git-svn:
git-svn: Add test for --ignore-paths parameter
git-svn: documented --ignore-paths
git-svn: add --ignore-paths option for fetching
git-svn: fix memory leak when checking for empty symlinks
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-svn.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt index 63d2f5e962..7b654f7928 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=<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; |