Re: Possible bug in git-rebase man page

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

 



Hi Stefan

On 05/04/2023 18:36, Stefan Haller wrote:
The git-rebase documentation has an example for a git-rebase-todo file
when --rebase-merges is used; one of the lines in that file is

   reset refactor-button # Use the Button class for all buttons

 From reading the code that parses the file, this doesn't seem to be a
valid line; as far as I can see, comments are not supported for reset or
label. The label is the entire rest of the line after the command.

Just wanted to confirm that I'm not missing anything.

You're right that comments are not supported for labels, but for the reset command do_reset() ignores everything after the label so it does effectively support comments. I've got some patches to support comments on other commands which I'll hopefully submit before too long.

Best Wishes

Phillip

-Stefan





[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