Skip to contentSkip to conversation

Correct error message in revert/cherry-pick

PATCH New Shawn O. Pearce 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 builtin-revert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-revert.c +1 -1
index 55d4fa1..ea2f15b 100644
@@ -133,7 +133,7 @@ static void add_to_msg(const char *string)
 {
 	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)
Signature · 1 line
1.5.2.rc2.754.g40686