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

Sequencer migration patches

From
Stephan Beyer <s-beyer@gmx.net>
Date
Jul 16, 2008, 20:45 UTC
Message-ID
<cover.1216233918.git.s-beyer@gmx.net>
In-Reply-To
<fd9b4f2b04c9b997c6bdba90352eb1ef973114ae.1216233915.git.s-beyer@gmx.net>
Hi,

the following patches migrate git-am and git-rebase--interactive to git-sequencer.

But there are some issues I want to mention.

I've compared performance of original rebase and am with the sequencer-based ones and the sequencer-based ones perform fairly bad. For example, applying 45 patches with git-am took 3 seconds using the original and 8 seconds using the sequencer-based one. Rebasing 100 commits takes 10.1 seconds instead of only 4.8 seconds on my test machine.

I expect that the builtin-sequencer performs muuuch better. But as long as there is no builtin-sequencer these patches should perhaps not be applied. Well, I could offer to provide patches to put sequencer-based git-am and git-rebase-i scripts to contrib/examples/ (or contrib/sequencer-examples/ or something else). ;-)

Regards,
  Stephan
Stephan Beyer (2):
  Migrate git-am to use git-sequencer
  Introduce git am --abort
 Documentation/git-am.txt               |    5 +-
 Documentation/git-rerere.txt           |    2 +-
 contrib/completion/git-completion.bash |    2 +-
 git-am.sh                              |  617 +++++++++++---------------------
 git-rebase.sh                          |    7 +-
 t/t4150-am.sh                          |   27 +-
 6 files changed, 244 insertions(+), 416 deletions(-)
Stephan Beyer (1):
  Migrate rebase-i to sequencer
 git-rebase--interactive.sh    |  438 ++++++++++-------------------------------
 t/t3404-rebase-interactive.sh |    9 +-
 2 files changed, 113 insertions(+), 334 deletions(-)
Previous: Stephan BeyerNext: Stephan Beyer
Message 3 of 5 in “Add git-sequencer documentation”
  1. 2/3 Add git-sequencer documentationStephan Beyer, Jul 16, 2008
  2. 3/3 Add git-sequencer test suite (t3350)Stephan Beyer, Jul 16, 2008
  3. Sequencer migration patchesStephan Beyer, Jul 16, 2008
  4. Migrate rebase-i to sequencerStephan Beyer, Jul 16, 2008
  5. Stephan BeyerJul 17, 2008

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.