From: Stefan Beller Date: Tue, 06 Feb 2018 20:33:24 GMT Subject: Re: [PATCH 075/194] fetch, push: do not use submodule as alternate in has_commits check Message-ID: In-Reply-To: On Mon, Feb 5, 2018 at 8:20 PM, Eric Sunshine wrote: > Or just combine these two error cases: > > if (submodule_to_gitdir(...) || repo_init(...)) { > strbuf_release(...); > return -1; > } will fix, thanks!