Re: [PATCH v2] clean: improve -n and -f implementation and documentation
- From
Sergey Organov <sorganov@gmail.com>
- Date
- Mar 4, 2024, 18:48 UTC
- Message-ID
- <878r2x96kd.fsf@osv.gnss.ru>
- In-Reply-To
- <xmqqa5ndq1op.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 16 quoted lines
> Sergey Organov <sorganov@gmail.com> 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 ;-).
Ah, yeah, got it now! So no further response is needed.
Thanks, -- Sergey Organov