Re: [PATCH v4 01/19] git-rebase.txt: update description of --allow-empty-message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Phillip,

On Sun, Feb 9, 2020 at 7:59 AM Phillip Wood <phillip.wood123@xxxxxxxxx> wrote:
>
> Hi Elijah
>
...
> > diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
> > index 0c4f038dd6..c83be7ffc2 100644
> > --- a/Documentation/git-rebase.txt
> > +++ b/Documentation/git-rebase.txt
> > @@ -265,9 +265,10 @@ See also INCOMPATIBLE OPTIONS below.
> >   See also INCOMPATIBLE OPTIONS below.
> >
> >   --allow-empty-message::
> > -     By default, rebasing commits with an empty message will fail.
> > -     This option overrides that behavior, allowing commits with empty
> > -     messages to be rebased.
> > +     No-op.  Rebasing commits with an empty message used to fail
> > +     and this option would override that behavior, allowing commits
> > +     with empty messages to be rebased.  Now commits with an empty
> > +     message do not cause rebasing to halt.
>
> Do we want to mention that the user can pass --no-allow-empty-message to
> override this?

Interesting point.  I could be persuaded towards that, but I'm leaning
against it based on the logic in b00bf1c9a8dd which this commit was
based upon.

However, even if we do want to mention --no-allow-empty-message, I'd
rather do that in a different series.  This patch is already slightly
tangential to the series, but it at least fixes the documentation for
a previously-documented option -- an option that happens to be similar
in spirit to the ones being touched by the series.  Adding
documentation for a previously undocumented option, while possibly
laudable, feels like taking a tangent to a tangent to me.  (And this
series is already long enough and is still hanging after two months,
so...)


Elijah



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux