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

Re: [PATCH] status: fix branch shown when not only bisecting

From
Rubén Justo <rjusto@gmail.com>
Date
Aug 1, 2023, 20:39 UTC
Message-ID
<32997081-62d8-b900-d58a-308e5c773818@gmail.com>
In-Reply-To
<xmqqedkn3arv.fsf@gitster.g>
On 31-jul-2023 16:45:56, Junio C Hamano wrote:
Show 17 quoted lines
> Rubén Justo <rjusto@gmail.com> writes:
> 
> > In 83c750acde (wt-status.*: better advice for git status added,
> > 2012-06-05), git-status received new informative messages to describe
> > the ongoing work in a worktree.
> >
> > Multiple operations can be performed concurrently in a worktree.  For
> > example, during a rebase, the user can also perform a cherry-pick.
> 
> Hmph ...
> 
> > In
> > that situation, git-status only shows information about one of them,
> > prioritizing which one, in order: merge, am, rebase, cherry-pick.
> 
> ... I have to wonder if it is a bug that "cherry-pick" proceeds when
> there is an ongoing "rebase" going on, though.

Doing an interactive rebase, stop at some point, cherry-pick some commit and let the rebase continue, it's not optimal but does not seem to me to be bad workflow.

Show 6 quoted lines
> When a sequencer is
> driving a cherry-pick of master..topic1 and the user gets control
> back in the middle, perhaps due to a conflict, should the user be
> allowed to do "cherry-pick master..topic2", splicing these commits
> from the other topic in the middle of the first cherry-pick session
> the user started?

We already prevent this to happen. Maybe because we do not want to support multiple .git/CHERRY_PICK_HEAD files. Anyway, to me, sounds like a reasonable thing to have: that nesting limit of 1. The same for the other operations.

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 7 in “status: fix branch shown when not only bisecting”
  1. status: fix branch shown when not only bisectingRubén Justo, Jul 30, 2023
  2. Junio C HamanoJul 31, 2023
  3. Rubén JustoAug 1, 2023
  4. Junio C HamanoAug 1, 2023
  5. Junio C HamanoAug 16, 2023
  6. status: fix branch shown when not only bisectingRubén Justo, Sep 9, 2023
  7. Junio C HamanoOct 16, 2023

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.