commit a207cf0a94fcda1a32112ecf7a3d5fc0fb9ebd9b from: Stefan Sperling date: Sat Dec 29 14:27:13 2018 UTC rename add_file_on_disk() to blob_checkout() commit - 144ad43a62dc0c19deba51bdf919dfc775155db9 commit + a207cf0a94fcda1a32112ecf7a3d5fc0fb9ebd9b blob - 0e4c7a09295cab79334a01739595d7d5ba886c58 blob + 5f15e0aa574188706dac26be47788fe6c06c3987 --- lib/worktree.c +++ lib/worktree.c @@ -402,7 +402,7 @@ apply_path_prefix(struct got_worktree *worktree, const } static const struct got_error * -add_file_on_disk(struct got_worktree *worktree, struct got_fileindex *fileindex, +blob_checkout(struct got_worktree *worktree, struct got_fileindex *fileindex, const char *path, struct got_blob_object *blob, struct got_repository *repo, got_worktree_checkout_cb progress_cb, void *progress_arg, const char *progress_path) @@ -570,7 +570,7 @@ tree_checkout_entry(struct got_worktree *worktree, err = got_object_blob_open(&blob, repo, obj, 8192); if (err) goto done; - err = add_file_on_disk(worktree, fileindex, path, blob, repo, + err = blob_checkout(worktree, fileindex, path, blob, repo, progress_cb, progress_arg, progress_path); break; case GOT_OBJ_TYPE_TREE: