]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pkt-line.h
l10n: it.po: update the Italian translation for Git 2.28.0 round 1
[thirdparty/git.git] / pkt-line.h
index a72af9112ba1ce270a6dbff5ccf601830ce41757..8c90daa59ef0ca5f32202a1bcf52583b3f324e4f 100644 (file)
@@ -22,6 +22,7 @@
  */
 void packet_flush(int fd);
 void packet_delim(int fd);
+void packet_response_end(int fd);
 void packet_write_fmt(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
 void packet_buf_flush(struct strbuf *buf);
 void packet_buf_delim(struct strbuf *buf);
@@ -94,6 +95,7 @@ enum packet_read_status {
        PACKET_READ_NORMAL,
        PACKET_READ_FLUSH,
        PACKET_READ_DELIM,
+       PACKET_READ_RESPONSE_END,
 };
 enum packet_read_status packet_read_with_status(int fd, char **src_buffer,
                                                size_t *src_len, char *buffer,
@@ -175,6 +177,9 @@ struct packet_reader {
 
        unsigned use_sideband : 1;
        const char *me;
+
+       /* hash algorithm in use */
+       const struct git_hash_algo *hash_algo;
 };
 
 /*