From: Eric Sunshine Date: Fri, 30 Oct 2015 18:16:19 GMT Subject: Re: [PATCHv2 2/8] submodule config: keep update strategy around Message-ID: In-Reply-To: On Fri, Oct 30, 2015 at 1:38 PM, Stefan Beller wrote: > On Thu, Oct 29, 2015 at 6:14 PM, Eric Sunshine wrote: >>> + else if (!me->overwrite && submodule->update != NULL) >> >> Although "foo != NULL" is unusual in this code-base, it is used >> elsewhere in this file, including just outside the context seen above. >> Okay. > > ok, I'll clean that up as we go. Oh, I wasn't suggesting that you clean this up (though you may if you want). I was merely commenting (for the sake of others reviewing this patch) that, while not the norm for the project, this instance is consistent with surrounding code. >>> + free((void *)submodule->update); >> >> Minor: Every other 'free((void *) foo)' in this file has a space after >> "(void *)", one of which can be seen in the context just above. > > done