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(-)