threads / discuss / 58992

git: The break command does not allow for comments

Subject: git: The break command does not allow for comments

## tl;dr

2 messages between Dec 22, 2022 and Jan 12, 2023.

replies: 1people: 2as markdown or json

Olliver Schinagl· Dec 22, 2022, 10:41 UTC · lore

When doing an interactive rebase, I'd like to leave notes to myself why I'm doing a break somewhere. Currently, the 'b' or 'break' command do not like any arguments.

It should however be quite alright  to add a (quoted) string after a break, without it causing to error out.

Olliver
Phillip Wood· Jan 12, 2023, 10:38 UTC · re: Olliver Schinagl · lore

Re: git: The break command does not allow for comments

Hi Olliver
On 22/12/2022 10:41, Olliver Schinagl wrote:
Show 6 quoted lines
> When doing an interactive rebase, I'd like to leave notes to myself why 
> I'm doing a break somewhere. Currently, the 'b' or 'break' command do 
> not like any arguments.
> 
> It should however be quite alright  to add a (quoted) string after a 
> break, without it causing to error out.
I think this is a good suggestion, I've posted a patch at 
https://lore.kernel.org/git/pull.1460.git.1673519809510.gitgitgadget@gmail.com 
- I'd be interested to hear your thoughts.
Best Wishes
Phillip

← back to recent threads