Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pkt-line: drop safe_write function
[gitweb.git]
/
builtin
/
receive-pack.c
diff --git
a/builtin/receive-pack.c
b/builtin/receive-pack.c
index 62ba6e7a3d014be01fe01ed497c083f7e44e9d34..912956378247c4de5c33654cded00b2e13dca491 100644
(file)
--- a/
builtin/receive-pack.c
+++ b/
builtin/receive-pack.c
@@
-932,7
+932,7
@@
static void report(struct command *commands, const char *unpack_status)
if (use_sideband)
send_sideband(1, 1, buf.buf, buf.len, use_sideband);
else
-
safe_writ
e(1, buf.buf, buf.len);
+
write_or_di
e(1, buf.buf, buf.len);
strbuf_release(&buf);
}