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

Re: Refactoring git-rebase.sh and git-rebase--interactive.sh

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 2, 2010, 12:46 UTC
Message-ID
<4CD0081B.5080405@viscovery.net>
In-Reply-To
<AANLkTimeWDbJPor9PnKgW5sD7DLjqrm-vTzEtnARvP3M@mail.gmail.com>
Am 11/2/2010 13:33, schrieb Martin von Zweigbergk:
> There are currently quite some
> functional differences between 'git rebase' and 'git rebase -i' (not
> just the obvious one).

Differences in the option handling is my favorite gripe with git-rebase, too. I suggest to write a command line processor, git-rebase.sh, that sets shell variables from options that it collects from various sources, then dispatches to one of git-rebase--interactive.sh, git-rebase--merge.sh, or git-rebase--am.sh (the latter two would be stripped-down copies of the current git-rebase.sh).

-- Hannes
Previous: Martin von ZweigbergkNext: Christian Couder
Message 2 of 9 in “Refactoring git-rebase.sh and git-rebase--interactive.sh”
  1. Martin von ZweigbergkNov 2, 2010
  2. Johannes SixtNov 2, 2010
  3. Christian CouderNov 3, 2010
  4. Martin von ZweigbergkNov 3, 2010
  5. Yann DirsonNov 4, 2010
  6. Pat NotzNov 4, 2010
  7. Christian CouderNov 5, 2010
  8. Martin von ZweigbergkNov 6, 2010
  9. Martin von ZweigbergkNov 7, 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.