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

[PATCH 0/5] Make git-rebase.sh more readable and easier to extend

From
martin.von.zweigbergk@gmail.com <martin.von.zweigbergk@gmail.com>
Date
Nov 3, 2010, 21:09 UTC
Message-ID
<1288818580-7576-1-git-send-email-martin.von.zweigbergk@gmail.com>
This is my first patch set to mail to this list, so I hope I get things right...

This patch set tries to make git-rebase.sh a bit more readable and to make it a bit easier to extend. The only change in behavior that I know I have introduced (in PATCH 2) is that "git rebase (--continue | --skip)" when an empty "$GIT_DIR/rebase-merge" exists now gives slightly fewer error messages while trying to cat files in that directory. The only reason for this change was to make it better aligned with the behavior when an empty "$GIT_DIR/rebase-apply" exists.

These patches are related to, but different from, the mail I sent about extracting common code between git-rebase.sh and git-rebase--interactive.sh (see http://thread.gmane.org/gmane.comp.version-control.git/160517). I would like to base that work on the current patch set.

 git-rebase.sh |  148 +++++++++++++++++++++++++--------------------------------
 1 files changed, 65 insertions(+), 83 deletions(-)
Next: martin.von.zweigbergk@gmail.com
Message 1 of 6 in “Make git-rebase.sh more readable and easier to extend”
  1. 0/5 Make git-rebase.sh more readable and easier to extendmartin.von.zweigbergk@gmail.com, Nov 3, 2010
  2. 1/5 rebase: clearer names for directory variablesmartin.von.zweigbergk@gmail.com, Nov 3, 2010
  3. 2/5 rebase: refactor reading of statemartin.von.zweigbergk@gmail.com, Nov 3, 2010
  4. 3/5 rebase: read state outside loopmartin.von.zweigbergk@gmail.com, Nov 3, 2010
  5. 4/5 rebase: remove unused rebase state 'prev_head'martin.von.zweigbergk@gmail.com, Nov 3, 2010
  6. 5/5 rebase: read state explicitly in '--abort'martin.von.zweigbergk@gmail.com, Nov 3, 2010

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.