Re: [PATCH 2/5] implement submodule config cache for lookup of submodule names
From: Heiko Voigt <hidden>
Date: 2016-06-15 23:01:33
On Sun, Jun 08, 2014 at 05:04:44AM -0400, Eric Sunshine wrote:
On Thu, Jun 5, 2014 at 2:07 AM, Heiko Voigt [off-list ref] wrote:quoted
This submodule configuration cache allows us to lazily read .gitmodules configurations by commit into a runtime cache which can then be used to easily lookup values from it. Currently only the values for path or name are stored but it can be extended for any value needed. [...] Signed-off-by: Heiko Voigt <redacted> ---diff --git a/t/t7410-submodule-config.sh b/t/t7410-submodule-config.sh new file mode 100755 index 0000000..ea453c5 --- /dev/null +++ b/t/t7410-submodule-config.sh@@ -0,0 +1,73 @@ +#!/bin/sh +# +# Copyright (c) 2014 Heiko Voigt +# + +test_description='Test submodules config cache infrastructure + +This test verifies that parsing .gitmodules configuration directly +from the database works. +' + +TEST_NO_CREATE_REPO=1 +. ./test-lib.sh + +test_expect_success 'submodule config cache setup' ' + mkdir submodule && + (cd submodule && + git initBroken &&-chain.
Will fix. Thanks for catching. Cheers Heiko