git-svn: added an --include-path flag
commita7b102302ad9495fb4eb5088ffcb09c44a406c06
authorPaul Walmsley <pjwhams@gmail.com>
Fri, 3 May 2013 23:10:18 +0000 (4 00:10 +0100)
committerEric Wong <normalperson@yhbt.net>
Thu, 9 May 2013 01:13:36 +0000 (9 01:13 +0000)
treed09331d68889086584bd535f701bd2f31f3ca6e6
parentd301f18160a3b0c3a5f647b9786aefd720d57faf
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>
Documentation/git-svn.txt
contrib/completion/git-completion.bash
git-svn.perl
perl/Git/SVN/Fetcher.pm
t/t9147-git-svn-include-paths.sh [new file with mode: 0755]