diff options
author | Junio C Hamano <junkio@cox.net> | 2007-05-13 13:34:40 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-13 13:34:40 -0700 |
commit | 43d151a1b087db22e2f9a754772b469de1194f67 (patch) | |
tree | 49f381570791ba6c56619bc737c78fe245a9f42e /t/t1300-repo-config.sh | |
parent | cvsserver: Limit config parser to needed options (diff) | |
parent | git-svn: don't attempt to minimize URLs by default (diff) | |
download | tgif-43d151a1b087db22e2f9a754772b469de1194f67.tar.xz |
Merge branch 'maint'
* maint:
git-svn: don't attempt to minimize URLs by default
git-svn: fix segfaults due to initial SVN pool being cleared
git-svn: clean up caching of SVN::Ra functions
git-svn: don't drop the username from URLs when dcommit is run
RPM spec: include files in technical/ to package.
Remove stale non-static-inline prototype for tree_entry_extract()
git-config: test for 'do not forget "a.b.var" ends "a.var" section'.
git-config: do not forget seeing "a.b.var" means we are out of "a.var" section.
Diffstat (limited to 't/t1300-repo-config.sh')
-rwxr-xr-x | t/t1300-repo-config.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh index 78c2e0864f..a1d777ca81 100755 --- a/t/t1300-repo-config.sh +++ b/t/t1300-repo-config.sh @@ -407,6 +407,25 @@ EOF test_expect_success "section was removed properly" \ "git diff -u expect .git/config" +rm .git/config + +cat > expect << EOF +[gitcvs] + enabled = true + dbname = %Ggitcvs2.%a.%m.sqlite +[gitcvs "ext"] + dbname = %Ggitcvs1.%a.%m.sqlite +EOF + +test_expect_success 'section ending' ' + + git-config gitcvs.enabled true && + git-config gitcvs.ext.dbname %Ggitcvs1.%a.%m.sqlite && + git-config gitcvs.dbname %Ggitcvs2.%a.%m.sqlite && + cmp .git/config expect + +' + test_expect_success numbers ' git-config kilo.gram 1k && |