From 9a9f0d3fc0888599723812be62fa2d7b3cc4d2d6 Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Mon, 25 May 2020 19:58:54 +0000 Subject: pkt-line: add a member for hash algorithm Add a member for the hash algorithm currently in use to the packet reader so it can parse references correctly. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano --- pkt-line.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkt-line.h') diff --git a/pkt-line.h b/pkt-line.h index fef3a0d792..4cd9435e9a 100644 --- a/pkt-line.h +++ b/pkt-line.h @@ -166,6 +166,9 @@ struct packet_reader { unsigned use_sideband : 1; const char *me; + + /* hash algorithm in use */ + const struct git_hash_algo *hash_algo; }; /* -- cgit v1.2.3