Sequencer migration patches

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Cc: Stephan Beyer <s-beyer@...>, Daniel Barkalow <barkalow@...>, Christian Couder <chriscool@...>, Junio C Hamano <gitster@...>, Johannes Schindelin <Johannes.Schindelin@...>
Date: Wednesday, July 16, 2008 - 4:45 pm

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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/3] Add git-sequencer shell prototype, Stephan Beyer, (Wed Jul 16, 4:45 pm)
[PATCH 2/3] Add git-sequencer documentation, Stephan Beyer, (Wed Jul 16, 4:45 pm)
[PATCH 3/3] Add git-sequencer test suite (t3350), Stephan Beyer, (Wed Jul 16, 4:45 pm)
Sequencer migration patches, Stephan Beyer, (Wed Jul 16, 4:45 pm)
Re: Sequencer migration patches, Stephan Beyer, (Thu Jul 17, 9:05 am)
[PATCH 1/2] Migrate git-am to use git-sequencer, Stephan Beyer, (Wed Jul 16, 4:45 pm)
[PATCH 2/2] Introduce git am --abort, Stephan Beyer, (Wed Jul 16, 4:45 pm)
[PATCH] Migrate rebase-i to sequencer, Stephan Beyer, (Wed Jul 16, 4:45 pm)