Commit Diff


commit - 78f5ac2436c8d17d1dd687d69e51354707275988
commit + f134ecfdc329a401e2e93407cce94733515f16fb
blob - 83c3cd05b0c14e01e854dae33a93f8d30c3dac64
blob + 634a1c3ab99f87c92f95463d1a11f669d8950830
--- lib/repository.c
+++ lib/repository.c
@@ -642,7 +642,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. */