Commit Diff


commit - 577ec78f7e6f997c163d0aaa36ca04279d4196f7
commit + 606778cdb7e382edf26d45fe46679032f93bb282
blob - 82a6215be475814bc499728772aa2f36a334cdaf
blob + d95e1a2179b6622f2368bf05228412e29bc7f3eb
--- include/got_worktree.h
+++ include/got_worktree.h
@@ -24,7 +24,5 @@ char *got_worktree_get_repo_path(struct got_worktree *
 struct got_reference *got_worktree_get_head(struct got_worktree *);
 const struct got_error *got_worktree_set_head(struct got_worktree *,
     struct got_reference *, struct got_repository *);
-const struct got_error *got_worktree_update_fileindex(struct got_worktree *,
-    struct got_repository *);
 const struct got_error *got_worktree_checkout_files(struct got_worktree *,
     struct got_repository *);
blob - 0d7bf54d0023cc5b92eb8a181c1bd3d8ce5329b7
blob + ca7a21cd361400c9b14e3da3838bcfeef795e861
--- lib/worktree.c
+++ lib/worktree.c
@@ -202,13 +202,6 @@ got_worktree_set_head(struct got_worktree *worktree, s
 }
 
 const struct got_error *
-got_worktree_update_fileindex(struct got_worktree *worktree,
-    struct got_repository *repo)
-{
-	return NULL;
-}
-
-const struct got_error *
 got_worktree_checkout_files(struct got_worktree *worktree,
     struct got_repository *repo)
 {