summaryrefslogtreecommitdiffstats
path: root/builtin/index-pack.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-03-12 03:27:40 +0100
committerJunio C Hamano <gitster@pobox.com>2018-03-14 17:23:49 +0100
commitef7b5195f1ee8ceef41fb2f03a46248ad7747d69 (patch)
tree1edce34a072ce72c3ac1adf745beddb4f03b418d /builtin/index-pack.c
parentsha1_file: convert check_sha1_signature to struct object_id (diff)
downloadgit-ef7b5195f1ee8ceef41fb2f03a46248ad7747d69.tar.xz
git-ef7b5195f1ee8ceef41fb2f03a46248ad7747d69.zip
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 'builtin/index-pack.c')
-rw-r--r--builtin/index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index b28ebfadd4..ae11d2a610 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -771,7 +771,7 @@ static int check_collison(struct object_entry *entry)
memset(&data, 0, sizeof(data));
data.entry = entry;
- data.st = open_istream(entry->idx.oid.hash, &type, &size, NULL);
+ data.st = open_istream(&entry->idx.oid, &type, &size, NULL);
if (!data.st)
return -1;
if (size != entry->size || type != entry->type)