Merge branch 'hv/mingw-fs-funnies'
[gitweb.git] / builtin / checkout.c
index cd7f56e6c4b6e1b1059ffa0eae91b46e579b9e97..bef324e4717fbe73da852c49c664e02d70955fc9 100644 (file)
@@ -297,7 +297,7 @@ static void show_local_changes(struct object *head, struct diff_options *opts)
        run_diff_index(&rev, 0);
 }
 
-static void describe_detached_head(char *msg, struct commit *commit)
+static void describe_detached_head(const char *msg, struct commit *commit)
 {
        struct strbuf sb = STRBUF_INIT;
        struct pretty_print_context ctx = {0};