From: Jean-Noël AVILA Date: Sun, 11 Feb 2024 20:50:04 GMT Subject: Re: [PATCH v2 8/8] cherry-pick: add `--empty` for more robust redundant commit handling Message-ID: <2345401.ElGaqSPkdT@cayenne> In-Reply-To: <20240210074859.552497-9-brianmlyles@gmail.com> Hello, There's a typo. On Saturday, 10 February 2024 08:43:56 CET Brian Lyles wrote: > +-- > ++ > +Note that this option species how to handle a commit that was not initially this option *specifies* > +empty, but rather became empty due to a previous commit. Commits that were > +initially empty will cause the cherry-pick to fail. To force the inclusion of > +those commits, use `--allow-empty`. > ++ > + > --keep-redundant-commits:: > - If a commit being cherry picked duplicates a commit already in the > - current history, it will become empty. By default these > - redundant commits cause `cherry-pick` to stop so the user can > - examine the commit. This option overrides that behavior and > - creates an empty commit object. Note that use of this option only > - results in an empty commit when the commit was not initially empty, > - but rather became empty due to a previous commit. Commits that were > - initially empty will cause the cherry-pick to fail. To force the > - inclusion of those commits use `--allow-empty`. > + Deprecated synonym for `--empty=keep`. > > --strategy=:: > Use the given merge strategy. Should only be used once. Otherwise, documentation looks good to me. JN