commit - 144ad43a62dc0c19deba51bdf919dfc775155db9
commit + a207cf0a94fcda1a32112ecf7a3d5fc0fb9ebd9b
blob - 0e4c7a09295cab79334a01739595d7d5ba886c58
blob + 5f15e0aa574188706dac26be47788fe6c06c3987
--- lib/worktree.c
+++ lib/worktree.c
}
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)
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: