From: Junio C Hamano Date: Mon, 04 Mar 2024 18:41:58 GMT Subject: Re: [PATCH v2] clean: improve -n and -f implementation and documentation Message-ID: In-Reply-To: <87h6hl96z7.fsf@osv.gnss.ru> Sergey Organov writes: > I wonder do you mean: > > /* Dry run won't remove anything, so requiring force makes no > * sense. Interactive has its own means of protection, so don't > * require force as well */ > if (dry_run || interactive) > require_force = 0; > > if (require_force != 0 && !force) > die_(); > ... That is explained in a few messages after this one, so I'll wait until you read them all before responding ;-). Thanks.