Skip to content

Commit 1dcb3b6

Browse files
spearceJunio C Hamano
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2b93bfa commit 1dcb3b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-revert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static void add_to_msg(const char *string)
133133
{
134134
int len = strlen(string);
135135
if (write_in_full(msg_fd, string, len) < 0)
136-
die ("Could not write to .msg");
136+
die ("Could not write to MERGE_MSG");
137137
}
138138

139139
static void add_message_to_msg(const char *message)

0 commit comments

Comments
 (0)