]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/repack.c
repack: make parsed string options const-correct
[thirdparty/git.git] / builtin / repack.c
index 512a53afd854961a5af23b5e696990992419def4..3dbb0ed199bf81a814dd4bc71deabf0dcdd7ffb1 100644 (file)
@@ -129,7 +129,7 @@ int cmd_repack(int argc, const char **argv, const char *prefix)
        /* variables to be filled by option parsing */
        int pack_everything = 0;
        int delete_redundant = 0;
-       char *unpack_unreachable = NULL;
+       const char *unpack_unreachable = NULL;
        int window = 0, window_memory = 0;
        int depth = 0;
        int max_pack_size = 0;