Skip to content

Towards a generalized sequencer

Ramkumar Ramachandra git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6revert: Don't remove the sequencer state on errorbuiltin/revert.c+3 -32 replies
2/6revert: Free memory after get_message callbuiltin/revert.c+1 -02 replies
3/6revert: Parse instruction sheet more cautiouslybuiltin/revert.c t/t3510-cherry-pick-sequence.sh+38 -111 reply
4/6revert: Allow mixed pick and revert instructionsbuiltin/revert.c sequencer.h t/t3510-cherry-pick-sequence.sh+127 -672 replies
5/6sequencer: Expose API to cherry-picking machinerybuiltin/revert.c sequencer.c sequencer.h+989 -99811 replies
6/6sequencer: Remove sequencer state after final commitbuiltin/commit.c sequencer.c sequencer.h +1 more+24 -142 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchJonathan Nieder
1/6
2/6
3/6A-b
4/6Helped-by A-b
5/6Helped-by
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Towards a generalized sequencer

Hi,

I've prepared a nicer series after Jonathan's feedback on the previous one. No new ideas; just the same ideas implemented in a more sane way. The first three patches fix some minor annoyances and don't dontribute much to the series in general. The fourth patch implements a very important idea: the ability to parse a general (action, operand) pair in the instruction sheet. The fifth patch may come as a real shocker; I was shocked myself, but I'm now convinced that this is the right way forward. Since it's only code movement, it should be very easy to review. The final patch solves a long-standing problem by introducing tighter coupling between 'git commit' and the sequencer.

Thanks for lending a ear. Enjoy reading the rest!

Note: I didn't know what to do with the license header in the fifth patch. I just assumed that it was some historical cruft and removed it.

Ramkumar Ramachandra (6):
revert: Don't remove the sequencer state on error
revert: Free memory after get_message call
revert: Parse instruction sheet more cautiously
revert: Allow mixed pick and revert instructions
sequencer: Expose API to cherry-picking machinery
sequencer: Remove sequencer state after final commit

 builtin/commit.c                |    7 +-
 builtin/revert.c                | 1012 +--------------------------------------
 sequencer.c                     |  962 +++++++++++++++++++++++++++++++++++++-
 sequencer.h                     |   37 ++
 t/t3510-cherry-pick-sequence.sh |   91 ++++-
 5 files changed, 1099 insertions(+), 1010 deletions(-)
Signature · 1 line
1.7.6.351.gb35ac.dirty