commit 40dc5ff850c9b70725e0ae5ef7e12a05fe0ea894 from: Stefan Sperling date: Fri Mar 16 18:22:22 2018 UTC rename a function for clarity commit - e0ab43e7e317d5415f5aa9899502da398dda1072 commit + 40dc5ff850c9b70725e0ae5ef7e12a05fe0ea894 blob - 67a4d28cea6f5c75d363e6d819b257d032287479 blob + a9f4e70b4c44660ba309da7d3b76b74528c49f6a --- lib/pack.c +++ lib/pack.c @@ -1087,7 +1087,7 @@ get_cached_delta(uint8_t **delta_buf, size_t *delta_le } static const struct got_error * -dump_delta_chain(struct got_delta_chain *deltas, FILE *outfile, +dump_delta_chain_to_file(struct got_delta_chain *deltas, FILE *outfile, const char *path_packfile, struct got_repository *repo) { const struct got_error *err = NULL; @@ -1409,8 +1409,8 @@ got_packfile_extract_object(FILE **f, struct got_objec err = got_inflate_to_file(&obj->size, packfile, *f); } else - err = dump_delta_chain(&obj->deltas, *f, obj->path_packfile, - repo); + err = dump_delta_chain_to_file(&obj->deltas, *f, + obj->path_packfile, repo); done: if (packfile) fclose(packfile);