From: Felipe Contreras Date: Tue, 15 Dec 2020 02:57:08 GMT Subject: Re: [PATCH v7 5/5] pull: display default warning only when non-ff Message-ID: <5fd8260432a08_d7c482083c@natae.notmuch> In-Reply-To: Junio C Hamano wrote: > Felipe Contreras writes: > > Junio C Hamano wrote: > > I strongly predict the conditionals will end up looking similar to: > > > > if (!can_ff) { > > if (rebase_unspecified && !opt_ff && opt_verbosity >= 0) > > show_advice_pull_non_ff(); > > } > > > > But OK. > > I may have failed to mention this in the cover letter, but I think > the placement of opt_ff in this part of the logic needs to be > rethought, so I strongly predict that this part will have to further > change ;-) And precisely because I predicted the same is that I deliberately chose not to preemptively organize the conditionals in any particular way. Cheers. -- Felipe Contreras