author | Ben Jackson <ben@ben.com> | |
Sat, 11 Apr 2009 17:46:17 +0000 (10:46 -0700) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Sun, 12 Apr 2009 00:55:37 +0000 (17:55 -0700) | ||
commit | 0d8bee71af1cda3d13d896c210773216dcf87b7c | |
tree | 5f276dd33ab7764b6a649a32c2cdb5afd1283e51 | tree | snapshot |
parent | 6ea420328885603087b3f1df42683c911d1b3f29 | commit | diff |
git-svn: Add per-svn-remote ignore-paths config
The --ignore-paths option to fetch is very useful for working on a subset
of a SVN repository. For proper operation, every command that causes a
fetch (explicit or implied) must include a matching --ignore-paths option.
This patch adds a persistent svn-remote.$repo_id.ignore-paths config by
promoting Fetcher::is_path_ignored to a member function and initializing
$self->{ignore_regex} in Fetcher::new. Command line --ignore-paths is
still recognized and acts in addition to the config value.
Signed-off-by: Ben Jackson <ben@ben.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
The --ignore-paths option to fetch is very useful for working on a subset
of a SVN repository. For proper operation, every command that causes a
fetch (explicit or implied) must include a matching --ignore-paths option.
This patch adds a persistent svn-remote.$repo_id.ignore-paths config by
promoting Fetcher::is_path_ignored to a member function and initializing
$self->{ignore_regex} in Fetcher::new. Command line --ignore-paths is
still recognized and acts in addition to the config value.
Signed-off-by: Ben Jackson <ben@ben.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Documentation/git-svn.txt | diff | blob | history | |
git-svn.perl | diff | blob | history | |
t/t9134-git-svn-ignore-paths.sh | diff | blob | history |