Re: [RFC PATCH 2/4] change submodule push test to use proper repository setup
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 12, 2017, 00:26 UTC
- Message-ID
- <xmqq7ew143f0.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20171011145657.GB85076@book.hvoigt.net>
Heiko Voigt <hvoigt@hvoigt.net> writes:
> This "default" value thing got me thinking in a different direction. We > could use a scheme like that to get names (and values) for submodules > that are missing from the .gitmodules file. If we decide that we need to > handle them.
Yes, I suspect that would improve things quite a bit in a repository where it added a new submodule by filling the gap between the time when a gitlink is added and an entry in .gitmodules is added. The latter needs to happen if the result of the work done in that repository is pushed out elsewhere---otherwise it won't usable by other people.