X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=e5332efcfc9449e0f3af4d6c49be63adfeb138b1;hb=9f3d54d193d9edcf443c9dd62789af5e8e47635c;hp=422f778f3f5b997ea1a3d8569cf6fa573481fff1;hpb=b7fba061e05d16fd2c61db5c279b6ad4db98aba4;p=git.git diff --git a/commit.h b/commit.h index 422f778f3..e5332efcf 100644 --- a/commit.h +++ b/commit.h @@ -139,7 +139,7 @@ extern struct commit_list *get_octopus_merge_bases(struct commit_list *in); extern int register_shallow(const unsigned char *sha1); extern int unregister_shallow(const unsigned char *sha1); -extern int write_shallow_commits(int fd, int use_pack_protocol); +extern int write_shallow_commits(struct strbuf *out, int use_pack_protocol); extern int is_repository_shallow(void); extern struct commit_list *get_shallow_commits(struct object_array *heads, int depth, int shallow_flag, int not_shallow_flag);