Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint-1.6.5' into maint
[gitweb.git]
/
builtin-revert.c
diff --git
a/builtin-revert.c
b/builtin-revert.c
index c87115af30abd9515599586af860ccd07b96b264..151aa6a981832954120359f7c953015525b530d8 100644
(file)
--- a/
builtin-revert.c
+++ b/
builtin-revert.c
@@
-135,7
+135,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 MERGE_MSG");
+ die
_errno
("Could not write to MERGE_MSG");
}
static void add_message_to_msg(const char *message)