Merge branch 'tb/blame-resurrect-convert-to-git'
[gitweb.git] / builtin / receive-pack.c
index 5292bb5a506805778c6b9c164523c80a44da3edd..d2ec52bca983d9dfe1094cffe6049c902049e4d6 100644 (file)
@@ -1008,7 +1008,7 @@ static void run_update_post_hook(struct command *commands)
        int argc;
        const char **argv;
        struct child_process proc = CHILD_PROCESS_INIT;
-       char *hook;
+       const char *hook;
 
        hook = find_hook("post-update");
        for (argc = 0, cmd = commands; cmd; cmd = cmd->next) {