Commit Diff


commit - 99724ed4012d446155eafdc18fc1337449bd8bcc
commit + 281294a56095bcb77b80db4140bb2f2d439b2812
blob - efcffc833f19d3b45d8b089c5ce124a3e89c9fd8
blob + 0925d8494a96526e4f3ef494045fddcaf51827c3
--- include/got_worktree.h
+++ include/got_worktree.h
@@ -24,5 +24,7 @@ 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 - 62920bb290d79adcb26c0a80eff7f7db0a4d8a1c
blob + 3267dbca6135f184c72c0e17da4d5ecae04dfcda
--- lib/worktree.c
+++ lib/worktree.c
@@ -194,6 +194,12 @@ 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)
 {