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

Re: sequencer status

From
Christian Couder <christian.couder@gmail.com>
Date
Aug 23, 2017, 16:40 UTC
Message-ID
<CAP8UFD035niTUQTe73RSTE+3u6WX11UpxoqCSrfVP1Qs-fF0gg@mail.gmail.com>
In-Reply-To
<8e25c42f-80f2-e0d4-38e4-b4fe9c8074e0@morey-chaisemartin.com>
Hi,

On Wed, Aug 23, 2017 at 10:10 AM, Nicolas Morey-Chaisemartin <nicolas@morey-chaisemartin.com> wrote:

Show 6 quoted lines
> Hi,
>
> I've created a small tool to display the current sequencer status.
> It mimics what Magit does to display what was done and what is left to do.
>
> As someone who often rebase large series of patches (also works with am, revert, cherry-pick), I really needed the feature and use this daily.

Yeah, many people use the interactive rebase a lot so I think it could be very interesting.

Show 17 quoted lines
> It's available here:
> https://github.com/nmorey/git-sequencer-status
> SUSE and Fedora packages are available here:
> https://build.opensuse.org/package/show/home:NMoreyChaisemartin:git-tools/git-sequencer-status
>
> It's not necessary very robust yet. Most of the time I use simple rebase so there are a lot of untested corner cases.
>
> Here is an example output:
> $ sequencer-status
> # Interactive rebase: master onto rebase_conflict
> exec    true
> pick    e54d993 Fourth commit
> exec    true
> *pick   b064629 Third commit
> exec    true
> pick    174c933 Second commit
> onto    773cb23 Alternate second

It is displaying the steps that have already been performed, right? I wonder if people might want more about the current step (but maybe that belongs to `git status`) or perhaps the not yet performed states (and maybe even a way to edit the todo list?)

> Two questions:
> - Could this be a candidate for contrib/ ?
It seems to me that these days we don't often add new tools to contrib/.
> - Would it be interesting to add the relevant code to sequencer.c so that all sequencer based commands could have a --status option ?

Yeah, it's probably better if it's integrated in git, either as a --status option in some commands, or perhaps as an option of `git status`.

Thanks, Christian.

Previous: Nicolas Morey-ChaisemartinNext: Nicolas Morey-Chaisemartin
Message 2 of 7 in “sequencer status”
  1. Nicolas Morey-ChaisemartinAug 23, 2017
  2. Christian CouderAug 23, 2017
  3. Nicolas Morey-ChaisemartinAug 24, 2017
  4. Matthieu MoyAug 24, 2017
  5. Nicolas Morey-ChaisemartinAug 24, 2017
  6. Junio C HamanoAug 23, 2017
  7. Nicolas Morey-ChaisemartinAug 24, 2017

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.