diff options
| author | Kristoffer Haugsbakk <code@khaugsbakk.name> | 2026-01-05 20:53:20 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-06 07:30:16 +0900 |
| commit | f67f7ddbbd03634318d54b1d1ad7ed8df4a2b292 (patch) | |
| tree | d60183ee9e8ed3d8805e71e49756c3f064ffa809 | |
| parent | 3074d08cfa1bfb75f96fa4a240c575fad4cb8060 (diff) | |
| download | git-f67f7ddbbd03634318d54b1d1ad7ed8df4a2b292.tar.xz | |
replay: improve code comment and die message
Suggested-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| -rw-r--r-- | builtin/replay.c | 4 |
1 files 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!")); |
