git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re bug report: I was allowed to "git checkout -b" while mid-rebase

From
K Jayatheerth <jayatheerthkulkarni2005@gmail.com>
Date
Jun 19, 2025, 08:35 UTC
Message-ID
<20250619083556.10619-1-jayatheerthkulkarni2005@gmail.com>
In-Reply-To
<CAMq4opMBpg4315Q8awm5SQAQa1vms=3KB+SiQkGtCF7thBPjHw@mail.gmail.com>

Oh I had a funny story with rebase too... Now that I think about it, I think rebase should have some confirmation like Y/N type.

I had a similar problem although it was just majorly me being clumsy, I had rebased and forgot to continue, and formatted patch and then I didn't see the files it created and sent the email with *.patch pathspec.

And that made me realise just after hitting enter that I sent a patch with a previous commit You can find the thread here.[1]

So I believe there must be a confirmation with a warning something like Y/N so that people are sure that they are doing stuff like creating a new branch within rebase or even sending an email or formatting the patch.

1 - https://lore.kernel.org/git/20250524073055.58092-2-jayatheerthkulkarni2005@gmail.com/
Previous: Grant Birchmeier
Message 5 of 5 in “bug report: I was allowed to "git checkout -b" while mid-rebase”
  1. Grant BirchmeierJun 19, 2025
  2. Jacob KellerJun 19, 2025
  3. Junio C HamanoJun 19, 2025
  4. Grant BirchmeierJun 19, 2025
  5. Re bug report: I was allowed to "git checkout -b" while mid-rebaseK Jayatheerth, Jun 19, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.