]> git.ipfire.org Git - thirdparty/git.git/blobdiff - object-store.h
Merge branch 'mt/use-passed-repo-more-in-funcs'
[thirdparty/git.git] / object-store.h
index 3a010153b7b798e8eb1bfb331136773a90458f24..5b047637e3e02e9e8eda665095b3630ae20025e4 100644 (file)
@@ -201,8 +201,9 @@ static inline void *repo_read_object_file(struct repository *r,
 /* Read and unpack an object file into memory, write memory to an object file */
 int oid_object_info(struct repository *r, const struct object_id *, unsigned long *);
 
-int hash_object_file(const void *buf, unsigned long len,
-                    const char *type, struct object_id *oid);
+int hash_object_file(const struct git_hash_algo *algo, const void *buf,
+                    unsigned long len, const char *type,
+                    struct object_id *oid);
 
 int write_object_file(const void *buf, unsigned long len,
                      const char *type, struct object_id *oid);