Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Jackson <ben@ben.com>2009-04-11 21:46:18 +0400
committerEric Wong <normalperson@yhbt.net>2009-04-12 04:55:37 +0400
commit88ec205477e18e612ab854f20ef87aa244b8debe (patch)
tree00a572f0cffbbf8065e8c5fefed99fd16c4c17b9 /git-svn.perl
parent0d8bee71af1cda3d13d896c210773216dcf87b7c (diff)
git-svn: Save init/clone --ignore-paths in config
The --ignored-paths argument is now stored as "svn-remote.$REMOTE_NAME.ignore-paths" in the config file. [ew: edited subject and message] Signed-off-by: Ben Jackson <ben@ben.com> Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 279847921b..bc3ba064e4 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -336,6 +336,9 @@ sub do_git_init_db {
command_noisy('config', "$pfx.$i", $icv{$i});
$set = $i;
}
+ my $ignore_regex = \$SVN::Git::Fetcher::_ignore_regex;
+ command_noisy('config', "$pfx.ignore-paths", $$ignore_regex)
+ if defined $$ignore_regex;
}
sub init_subdir {