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>
This commit is contained in:
Ben Jackson
2009-04-11 10:46:18 -07:00
committed by Eric Wong
parent 0d8bee71af
commit 88ec205477
3 changed files with 9 additions and 2 deletions

View File

@ -40,10 +40,10 @@ test_expect_success 'init+fetch an SVN repository with ignored www directory' '
test_cmp expect expect2
'
test_expect_success 'set persistent ignore-paths config' '
test_expect_success 'verify ignore-paths config saved by clone' '
(
cd g &&
git config svn-remote.svn.ignore-paths "^www"
git config --get svn-remote.svn.ignore-paths | fgrep "www"
)
'