From: Stefan Beller Date: Wed, 28 Mar 2018 20:54:41 GMT Subject: Re: [PATCH] submodule: check for NULL return of get_submodule_ref_store() Message-ID: In-Reply-To: On Wed, Mar 28, 2018 at 1:21 PM, Eric Sunshine wrote: > Or, even simpler: > > mv addtest2/repo addtest2/repo.bak && > test_when_finished "mv addtest2/repo.bak addtest2/repo" && > git -C addtest2 submodule status >actual && > grep -e "^-" -e repo actual I like this! Time permitting I'll update the patch (I'll first have to take care of some other series, so feel free to make it into a patch) Thanks, Stefan