Skip to content

Commit f67f7dd

Browse files
LemmingAvalanchegitster
authored andcommitted
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>
1 parent 3074d08 commit f67f7dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

builtin/replay.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ int cmd_replay(int argc,
418418
onto_name, &advance_name,
419419
&onto, &update_refs);
420420

421-
/* FIXME: Should handle replaying down to root commit */
421+
/* FIXME: Should allow replaying commits with the first as a root commit */
422422

423423
/* Build reflog message */
424424
if (advance_name_opt)
@@ -454,7 +454,7 @@ int cmd_replay(int argc,
454454
int hr;
455455

456456
if (!commit->parents)
457-
die(_("replaying down to root commit is not supported yet!"));
457+
die(_("replaying down from root commit is not supported yet!"));
458458
if (commit->parents->next)
459459
die(_("replaying merge commits is not supported yet!"));
460460

0 commit comments

Comments
 (0)