From f67f7ddbbd03634318d54b1d1ad7ed8df4a2b292 Mon Sep 17 00:00:00 2001 From: Kristoffer Haugsbakk Date: Mon, 5 Jan 2026 20:53:20 +0100 Subject: [PATCH] replay: improve code comment and die message Suggested-by: Elijah Newren Signed-off-by: Kristoffer Haugsbakk Signed-off-by: Junio C Hamano --- builtin/replay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/replay.c b/builtin/replay.c index 1899ccc7cc..402db44af2 100644 --- a/builtin/replay.c +++ b/builtin/replay.c @@ -418,7 +418,7 @@ int cmd_replay(int argc, onto_name, &advance_name, &onto, &update_refs); - /* FIXME: Should handle replaying down to root commit */ + /* FIXME: Should allow replaying commits with the first as a root commit */ /* Build reflog message */ if (advance_name_opt) @@ -454,7 +454,7 @@ int cmd_replay(int argc, int hr; if (!commit->parents) - die(_("replaying down to root commit is not supported yet!")); + die(_("replaying down from root commit is not supported yet!")); if (commit->parents->next) die(_("replaying merge commits is not supported yet!"));