]> Kevux Git Server - rit/commit
builtin/replay: move core logic into "libgit.a"
authorPatrick Steinhardt <ps@pks.im>
Tue, 13 Jan 2026 09:54:33 +0000 (10:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Jan 2026 13:41:16 +0000 (05:41 -0800)
commit6aeda3cf5b6d5c38e9b51f1f39133e23d0981d55
tree5cf4aab21cd11086eb246e0aa824a702a657bdda
parent1454743eb84eea1f7e4ea23e0556ed5ef9888894
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]