Christian Couder <christian.couder@xxxxxxxxx> writes: > # Intro > > `git replay` has initially been developed entirely by Elijah Newren > mostly last year (2022) at: > > https://github.com/newren/git/commits/replay > > I took over a few months ago to polish and upstream it as GitLab is > interested in replacing libgit2, and for that purpose needs a command > to do server side (so without using a worktree) rebases, cherry-picks > and reverts. It would help to include the following in future updated rounds, as Elijah is shuffling the header files around agressively and these patches do not build when merged into 'seen'. When these two new includes are added, the series would compile both standalone (i.e. applied on top of 'master') and in 'seen' (i.e. with shuffled headers). Thanks. builtin/replay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git c/builtin/replay.c w/builtin/replay.c index 7699d28f93..62dd1f7fff 100644 --- c/builtin/replay.c +++ w/builtin/replay.c @@ -15,6 +15,8 @@ #include "refs.h" #include "revision.h" #include "strmap.h" +#include <oidset.h> +#include <tree.h> static const char *short_commit_name(struct commit *commit) {