Re: unifying sequencer's options persisting, was Re: [PATCH v2] sequencer: fix edit handling for cherry-pick and revert messages
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 2, 2021, 22:27 UTC
- Message-ID
- <xmqq7dlk2ug9.fsf@gitster.g>
- In-Reply-To
- <CABPp-BEzayZkEZ36CFNBGz9X3jv0MNUnWa2EhzKKmWcb83yRmw@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 9 quoted lines
> Even if others now disagree with the above, I know I can get a huge > speedup by changing sequencer to stop per-commit wasteful work (stop > forking processes like "git commit", don't write control structures if > the rebase hasn't ended or hit a conflict, don't update the working > copy or index or reflog). It's enough of a speedup that if backward > compatibility won't allow such a method to be used by default, I'd > still make yet another backend that could be optionally used. And I'd > have the default rebase and cherry-pick start printing annoying > deprecation notices so that users become aware of a faster option.
A faster and less powerful interface is good; I doubt deprecation would work well. If a workflow depends on things like post-commit hook, the affected users deserve some way to migrate to --exec or whatever method to compensate the loss of functionality.