Shawn O. Pearce  committed 1dcb3b6

Correct error message in revert/cherry-pick

We now write to MERGE_MSG, not .msg. I missed this earlier
when I changed the target we write to.

Signed-off-by: Shawn O. Pearce <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 2b93bfa
  • Branches master

Comments (0)

Files changed (1)

File builtin-revert.c

 	int len = strlen(string);
 	if (write_in_full(msg_fd, string, len) < 0)
-		die ("Could not write to .msg");
+		die ("Could not write to MERGE_MSG");
 static void add_message_to_msg(const char *message)