]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
short i/o: fix calls to read to use xread or read_in_full
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 38a20a806950752f0449cf244e06149d5d5aca51..a9583ff18eec46bf945ef820ea4a41fe51e0a4b1 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -432,6 +432,7 @@ extern char *git_commit_encoding;
 extern char *git_log_output_encoding;
 
 extern int copy_fd(int ifd, int ofd);
+extern int read_in_full(int fd, void *buf, size_t count);
 extern void read_or_die(int fd, void *buf, size_t count);
 extern int write_in_full(int fd, const void *buf, size_t count);
 extern void write_or_die(int fd, const void *buf, size_t count);