Re: [PATCH 1/4] config: add include directive
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.
Show 9 quoted lines
> +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