Commit 606778cdb7e382edf26d45fe46679032f93bb282

Stefan Sperling 2018-03-11T01:18:45

fileindex update function probably won't be needed after all

diff --git a/include/got_worktree.h b/include/got_worktree.h
index 82a6215..d95e1a2 100644
--- a/include/got_worktree.h
+++ b/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 *);
diff --git a/lib/worktree.c b/lib/worktree.c
index 0d7bf54..ca7a21c 100644
--- a/lib/worktree.c
+++ b/lib/worktree.c
@@ -202,13 +202,6 @@ got_worktree_set_head(struct got_worktree *worktree, struct got_reference *head,
 }
 
 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)
 {