From: Junio C Hamano Date: Tue, 21 Aug 2018 21:39:28 GMT Subject: Re: [PATCH 3/7] submodule: is_submodule_active to differentiate between new and old mode Message-ID: In-Reply-To: Stefan Beller writes: >> So I think this patch is insufficient, and needs to at least change >> the "submodule.active" codepath to return !!ret; otherwise, a caller >> that now expects 0 (not active), 1 (active but can lose URL) and 2 >> (active and the presence of URL makes it so) will be confused when >> one of the MATCHED_* constants from dir.h comes back. > > Yes. > > I'll resend when appropriately. Thanks.