From: Johannes Sixt Date: Thu, 26 Jan 2012 09:16:22 GMT Subject: Re: [PATCH 1/4] config: add include directive Message-ID: <4F2119E6.8010109@viscovery.net> In-Reply-To: <20120126073752.GA30474@sigill.intra.peff.net> Am 1/26/2012 8:37, schrieb Jeff King: > This patch introduces an include directive for config files. Nice. I haven't had a need for it, yet, but the concept looks good. > +test_expect_success 'recursive relative paths' ' > + mkdir subdir && > + echo "[test]three = 3" >subdir/three && > + echo "[include]path = three" >subdir/two && > + echo "[include]path = subdir/two" >base && > + echo 3 >expect && > + git config -f base test.three >actual && > + test_cmp expect actual > +' Isn't it rather "chained relative paths"? Recursive would be if I write [include]path = .gitconfig in my ~/.gitconfig. What happens in this case? -- Hannes