Commit Diff


commit - 814624e72dc6ddb62ada261a323f7899caa5b4f1
commit + d224ad331179af78d8a4f232001f0a6595e36d85
blob - 11d4544e566f8f5fbb07a1ac7256d3f824949198
blob + 2ab15e0f84226ad6b90990aed9187d0c48ecd38c
--- lib/repository.c
+++ lib/repository.c
@@ -636,7 +636,7 @@ read_gotconfig(struct got_repository *repo)
 }
 
 /* Supported repository format extensions. */
-static const char *repo_extensions[] = {
+static const char *const repo_extensions[] = {
 	"noop",			/* Got supports repository format version 1. */
 	"preciousObjects",	/* Supported by gotadmin cleanup. */
 	"worktreeConfig",	/* Got does not care about Git work trees. */