summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorPaul Walmsley <pjwhams@gmail.com>2013-05-03 23:10:18 (GMT)
committerEric Wong <normalperson@yhbt.net>2013-05-09 01:13:36 (GMT)
commita7b102302ad9495fb4eb5088ffcb09c44a406c06 (patch)
treed09331d68889086584bd535f701bd2f31f3ca6e6 /contrib/completion
parentd301f18160a3b0c3a5f647b9786aefd720d57faf (diff)
downloadgit-a7b102302ad9495fb4eb5088ffcb09c44a406c06.zip
git-a7b102302ad9495fb4eb5088ffcb09c44a406c06.tar.gz
git-a7b102302ad9495fb4eb5088ffcb09c44a406c06.tar.bz2
git-svn: added an --include-path flag
The SVN::Fetcher module is now able to filter for inclusion as well as exclusion (as used by --ignore-path). Also added tests, documentation changes and git completion script. If you have an SVN repository with many top level directories and you only want a git-svn clone of some of them then using --ignore-path is difficult as it requires a very long regexp. In this case it's much easier to filter for inclusion. [ew: remove trailing whitespace] Signed-off-by: Paul Walmsley <pjwhams@gmail.com> Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index b97162f..a98c2fd 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2451,7 +2451,7 @@ _git_svn ()
--no-metadata --use-svm-props --use-svnsync-props
--log-window-size= --no-checkout --quiet
--repack-flags --use-log-author --localtime
- --ignore-paths= $remote_opts
+ --ignore-paths= --include-paths= $remote_opts
"
local init_opts="
--template= --shared= --trunk= --tags=