commit dc2404d9e5211dd2c472c2bc600b720eb526a88e from: Stefan Sperling date: Sun Mar 11 13:28:36 2018 UTC remove got_worktree_change_head() for now commit - 35be1456d63733ac069f13cc4b0b75b1f922ae70 commit + dc2404d9e5211dd2c472c2bc600b720eb526a88e blob - 190780e7256bee86cf284ce25cb000200af2f4a2 blob + c872b92c3edc17bc19fb55ee253e8da7d74d40f0 --- include/got_worktree.h +++ include/got_worktree.h @@ -22,7 +22,5 @@ const struct got_error *got_worktree_open(struct got_w void got_worktree_close(struct got_worktree *); char *got_worktree_get_repo_path(struct got_worktree *); char *got_worktree_get_head_ref_name(struct got_worktree *); -const struct got_error *got_worktree_change_head(struct got_worktree *, - struct got_reference *, struct got_repository *); const struct got_error *got_worktree_checkout_files(struct got_worktree *, struct got_repository *); blob - 70a5f978233a588573801160b07e51f45571ea72 blob + b7998d0623d8b7f3a44f6d0962e19ba8064c496c --- lib/worktree.c +++ lib/worktree.c @@ -341,13 +341,6 @@ got_worktree_get_head_ref_name(struct got_worktree *wo } const struct got_error * -got_worktree_change_head(struct got_worktree *worktree, struct got_reference *head, - struct got_repository *repo) -{ - return NULL; -} - -const struct got_error * got_worktree_checkout_files(struct got_worktree *worktree, struct got_repository *repo) {