mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
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 <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
1349ffed6d
commit
9a9f0d3fc0
@@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user