Re: [PATCH 075/194] fetch, push: do not use submodule as alternate in has_commits check
- From
Stefan Beller <sbeller@google.com>
- Date
- Feb 6, 2018, 20:33 UTC
- Message-ID
- <CAGZ79kYRg4URASwy5Xf7iZR_CQsGxcVDzfS040Yyc7z1uKKqZw@mail.gmail.com>
- In-Reply-To
- <CAPig+cTjUAYRbaF_CLAmtYf56cL2hhvYc4VLrE8DX-MiryCWXA@mail.gmail.com>
On Mon, Feb 5, 2018 at 8:20 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 6 quoted lines
> Or just combine these two error cases:
>
> if (submodule_to_gitdir(...) || repo_init(...)) {
> strbuf_release(...);
> return -1;
> }will fix, thanks!