Thread (30 messages) flat view 30 messages, 4 authors, 2018-08-09

Re: [RFC PATCH v2 05/12] submodule: use the 'submodule--helper config' command

From: Stefan Beller <hidden>
Date: 2018-08-02 18:59:23

On Thu, Aug 2, 2018 at 6:47 AM Antonio Ospite [off-list ref] wrote:
Use the 'submodule--helper config' command in git-submodules.sh to avoid
referring explicitly to .gitmodules by the hardcoded file path.
ccol! This is the corner stone to the work of the previous patches. Nicely done!
This makes it possible to access the submodules configuration in a more
controlled way.

Signed-off-by: Antonio Ospite <redacted>
---

Note that there are other instances of "git config -f .gitmodules" in test
files, but I am not touching those for now.
I just checked and this converts all of git-submodule.sh which would
have been my expectation as that is the real product.

The tests are fine to use "git config -f .gitmodules" as there we want to
setup a specific environment to be tested? So I would think even future
patches in this series will not touch test files for such a conversion
as in here.

Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help