From 583b7ea31b7c16f872b178d541591ab816d16f85 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 21 Jun 2006 00:30:21 -0700 Subject: upload-pack/fetch-pack: support side-band communication This implements a protocol extension between fetch-pack and upload-pack to allow stderr stream from upload-pack (primarily used for the progress bar display) to be passed back. Signed-off-by: Junio C Hamano --- pkt-line.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pkt-line.h') diff --git a/pkt-line.h b/pkt-line.h index 51d0cbe219..9abef24de3 100644 --- a/pkt-line.h +++ b/pkt-line.h @@ -8,5 +8,6 @@ void packet_flush(int fd); void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3))); int packet_read_line(int fd, char *buffer, unsigned size); +ssize_t safe_write(int, const void *, ssize_t); #endif -- cgit v1.2.1