]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/replay: move core logic into "libgit.a"
authorPatrick Steinhardt <ps@pks.im>
Wed, 7 Jan 2026 10:10:10 +0000 (11:10 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Jan 2026 02:01:58 +0000 (11:01 +0900)
commit97d99160652bf45cd4971d06512fa6c2ba3a1bb0
tree9b1c5f847f72303e8a3126f411442a5e06e5de3b
parent3b7ea08b3f2f2a33c16e275ffe358f6358eb9c66
builtin/replay: move core logic into "libgit.a"

Move the core logic used to replay commits into "libgit.a" so that it
can be easily reused by other commands. It will be used in a subsequent
commit where we're about to introduce a new git-history(1) command.

Note that with this change we have no sign-comparison warnings anymore,
and neither do we depend on `the_repository`.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin/replay.c
meson.build
replay.c [new file with mode: 0644]
replay.h [new file with mode: 0644]