summaryrefslogtreecommitdiff
path: root/object-file-convert.h
diff options
context:
space:
mode:
Diffstat (limited to 'object-file-convert.h')
-rw-r--r--object-file-convert.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/object-file-convert.h b/object-file-convert.h
index a4f802aa8e..9b3cc5e533 100644
--- a/object-file-convert.h
+++ b/object-file-convert.h
@@ -14,7 +14,8 @@ int repo_oid_to_algop(struct repository *repo, const struct object_id *src,
* Convert an object file from one hash algorithm to another algorithm.
* Return -1 on failure, 0 on success.
*/
-int convert_object_file(struct strbuf *outbuf,
+int convert_object_file(struct repository *repo,
+ struct strbuf *outbuf,
const struct git_hash_algo *from,
const struct git_hash_algo *to,
const void *buf, size_t len,