diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-03-12 05:27:40 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-14 19:23:49 +0300 |
commit | ef7b5195f1ee8ceef41fb2f03a46248ad7747d69 (patch) | |
tree | 1edce34a072ce72c3ac1adf745beddb4f03b418d /sha1_file.c | |
parent | 17e65451e305b7501fddec35125bf5d39a4cdcac (diff) |
streaming: convert open_istream to use struct object_id
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_file.c')
-rw-r--r-- | sha1_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c index e4cb840661..cdcba4483b 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -799,7 +799,7 @@ int check_object_signature(const struct object_id *oid, void *map, return oidcmp(oid, &real_oid) ? -1 : 0; } - st = open_istream(oid->hash, &obj_type, &size, NULL); + st = open_istream(oid, &obj_type, &size, NULL); if (!st) return -1; |