gotweb does not actually use anything from worktree.c or fileindex.c
diff --git a/gotweb/Makefile b/gotweb/Makefile
index b68c94d..aa54a17 100644
--- a/gotweb/Makefile
+++ b/gotweb/Makefile
@@ -7,9 +7,9 @@ SUBDIR = libexec
PROG = gotweb
SRCS = gotweb.c parse.y blame.c commit_graph.c delta.c diff.c \
- diffreg.c error.c fileindex.c object.c object_cache.c \
+ diffreg.c error.c object.c object_cache.c \
object_idset.c object_parse.c opentemp.c path.c pack.c \
- privsep.c reference.c repository.c sha1.c worktree.c \
+ privsep.c reference.c repository.c sha1.c \
inflate.c buf.c rcsutil.c diff3.c lockfile.c \
deflate.c object_create.c delta_cache.c gotconfig.c \
diff_main.c diff_atomize_text.c diff_myers.c diff_output.c \