Re: Re* [PATCH v3 2/2] doc: revert: add discussion
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Aug 11, 2023, 18:16 UTC
- Message-ID
- <CAPig+cS7XVZNOrV4POFqOmYDvALF6_SAxs0PhvgZWe66M3TR2Q@mail.gmail.com>
- In-Reply-To
- <xmqq5y5ltqwd.fsf_-_@gitster.g>
On Fri, Aug 11, 2023 at 2:12 PM Junio C Hamano <gitster@pobox.com> wrote:
> Subject: [PATCH 3/2] revert: force explaining overly complex revert chain > > Once we revert reverts of revert and reach "Reapply "Reapply "..."", > it becomes too unweirdly to read a reversion of such a comit.
s/unweirdly/unwieldy/ s/comit/commit/
Show 11 quoted lines
> We instruct the user to explain why the reversion is done in their > own words when using the revert.reference mode, and the instruction > applies equally for such an overly complex revert chain. The > rationale for such a sequence of events should be recorded to help > future developers. > > Building on top of the recent Oswald's work to turn "revert revert" > into "reapply", let's turn the reference mode automatically on in > such a case. > > Signed-off-by: Junio C Hamano <gitster@pobox.com>