commit f970685c28a69b4ad4cb94b882bec962b274022f from: Stefan Sperling date: Sat Apr 13 14:11:37 2019 UTC flip order of arguments to got_object_blob_create() commit - 57b6f99ae52a3542d4cec0b74c1af6ff05d3e9c5 commit + f970685c28a69b4ad4cb94b882bec962b274022f blob - ae70623f7b873008740dfff0809960a909b8acea blob + 79dd142ae75fda3dd49b8216d7eae2e0a186d267 --- lib/got_lib_object_create.h +++ lib/got_lib_object_create.h @@ -15,4 +15,4 @@ */ const struct got_error *got_object_blob_create(struct got_object_id **, - struct got_repository *, const char *); + const char *, struct got_repository *); blob - 9a45cabf87f8d6ba4d983989ce24fb976f74e2d6 blob + 811852390009b439b1fa0ba6e06034eaee832a4f --- lib/object_create.c +++ lib/object_create.c @@ -44,8 +44,8 @@ #endif const struct got_error * -got_object_blob_create(struct got_object_id **id, struct got_repository *repo, - const char *ondisk_path) +got_object_blob_create(struct got_object_id **id, const char *ondisk_path, + struct got_repository *repo) { const struct got_error *err = NULL, *unlock_err = NULL; char *header = NULL, *objpath = NULL, *outpath = NULL;