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

Implementation of git rebase --status

From
GPGuillaume Pages <guillaume.pages@ensimag.grenoble-inp.fr>
Date
May 26, 2015, 14:38 UTC
Message-ID
<2024498388.1201300.1432651081110.JavaMail.zimbra@ensimag.grenoble-inp.fr>
In-Reply-To
<1086316854.1201217.1432650834727.JavaMail.zimbra@ensimag.grenoble-inp.fr>
Hi, 

I would like to implement a new command git rebase --status to inform the user about the current rebase session. Here is a sample of what I think it could look like in case of merge conflict:

git rebase --status You are in the middle of a rebase session. The line that paused this session is: pick 848a16f commit with conflicts CONFLICT (content): Merge conflict in file1 Consult and edit remaining actions with git rebase --edit-todo

In case of syntax error: 

git rebase --status You are in the middle of a rebase session. The line that paused this session is: tick 848a16f syntax error SYNTAX ERROR Consult and edit remaining actions with git rebase --edit-todo

In case of error during the execution of a script: 

git rebase --status You are in the middle of a rebase session. The line that paused this session is: exec exit 3 ERROR IN SCRIPT EXECUTION Consult and edit remaining actions with git rebase --edit-todo

Do you think it could be usefull or do you have any suggestion? 
Thanks, 
Guillaume Pagès 
Next: Junio C Hamano
Message 1 of 3 in “Implementation of git rebase --status”
  1. Guillaume PagesMay 26, 2015
  2. Junio C HamanoMay 26, 2015
  3. Guillaume PagesMay 26, 2015

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.