ref-filter: make ref_array_item allocation more consistent
[gitweb.git] / csum-file.h
index ceb3e5712d3a10594233489c0ce83a4f7474814a..992e5c014122d8fed3ee782d400e61de78e55271 100644 (file)
@@ -8,7 +8,7 @@ struct hashfile {
        int fd;
        int check_fd;
        unsigned int offset;
-       git_SHA_CTX ctx;
+       git_hash_ctx ctx;
        off_t total;
        struct progress *tp;
        const char *name;
@@ -20,7 +20,7 @@ struct hashfile {
 /* Checkpoint */
 struct hashfile_checkpoint {
        off_t offset;
-       git_SHA_CTX ctx;
+       git_hash_ctx ctx;
 };
 
 extern void hashfile_checkpoint(struct hashfile *, struct hashfile_checkpoint *);