Re: [PATCH] submodule: check for NULL return of get_submodule_ref_store()
- From
Stefan Beller <sbeller@google.com>
- Date
- Mar 28, 2018, 20:54 UTC
- Message-ID
- <CAGZ79kYs1YFQav8ux0nHcdDoaXcrBrnLM7K5=+9+4sYjHR4yJA@mail.gmail.com>
- In-Reply-To
- <CAPig+cQ_j4OyBjsZHE8ZPBojqD7HhSEb14-CFY9qYfXX+dafpQ@mail.gmail.com>
On Wed, Mar 28, 2018 at 1:21 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 6 quoted lines
> 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