Re: [PATCH v2] clean: improve -n and -f implementation and documentation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 4, 2024, 18:41 UTC
- Message-ID
- <xmqqa5ndq1op.fsf@gitster.g>
- In-Reply-To
- <87h6hl96z7.fsf@osv.gnss.ru>
Sergey Organov <sorganov@gmail.com> writes:
Show 11 quoted lines
> 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.