commit 76f564d51b856bda8726e68ef088e7be04fcc40c from: Stefan Sperling date: Sun Apr 14 11:01:53 2019 UTC rename create_loose_object() to create_object_file() commit - 4be2a0b433044cc72a86a0407d7733ba374ec4d4 commit + 76f564d51b856bda8726e68ef088e7be04fcc40c blob - 357bd0bc8c9dd2c095ddc8e5e9220cfc93187487 blob + 4d5481fdefec64ac6750ffd5fc41f691fe305e1f --- lib/object_create.c +++ lib/object_create.c @@ -45,7 +45,7 @@ #endif static const struct got_error * -create_loose_object(struct got_object_id *id, FILE *content, +create_object_file(struct got_object_id *id, FILE *content, struct got_repository *repo) { const struct got_error *err = NULL, *unlock_err = NULL; @@ -184,7 +184,7 @@ got_object_blob_create(struct got_object_id **id, cons } rewind(blobfile); - err = create_loose_object(*id, blobfile, repo); + err = create_object_file(*id, blobfile, repo); done: free(header); if (fd != -1 && close(fd) != 0 && err == NULL) @@ -291,7 +291,7 @@ got_object_tree_create(struct got_object_id **id, } rewind(treefile); - err = create_loose_object(*id, treefile, repo); + err = create_object_file(*id, treefile, repo); done: free(header); if (treefile && fclose(treefile) != 0 && err == NULL)