From: Kristoffer Haugsbakk Date: Mon, 5 Jan 2026 19:53:20 +0000 (+0100) Subject: replay: improve code comment and die message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f67f7ddbbd03634318d54b1d1ad7ed8df4a2b292;p=thirdparty%2Fgit.git replay: improve code comment and die message Suggested-by: Elijah Newren Signed-off-by: Kristoffer Haugsbakk Signed-off-by: Junio C Hamano --- 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!"));