diff options
author | Patryk Obara <patryk.obara@gmail.com> | 2017-08-20 22:09:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-20 21:52:08 -0700 |
commit | e3506559d476ccf94c923c30a15500b46204e146 (patch) | |
tree | 5b881cce8baa687c519ab2265155cc850fe86291 /read-cache.c | |
parent | 98e019b067ac8a34e06f9c412f14a080c7c4dc0d (diff) | |
download | git-e3506559d476ccf94c923c30a15500b46204e146.tar.gz |
sha1_file: convert index_fd to struct object_id
Convert all remaining callers as well.
Signed-off-by: Patryk Obara <patryk.obara@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
-rw-r--r-- | read-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c index 17f19a11ff..9b41058569 100644 --- a/read-cache.c +++ b/read-cache.c @@ -161,7 +161,7 @@ static int ce_compare_data(const struct cache_entry *ce, struct stat *st) if (fd >= 0) { struct object_id oid; - if (!index_fd(oid.hash, fd, st, OBJ_BLOB, ce->name, 0)) + if (!index_fd(&oid, fd, st, OBJ_BLOB, ce->name, 0)) match = oidcmp(&oid, &ce->oid); /* index_fd() closed the file descriptor already */ } |