mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
checkout: add missing const to describe_detached_head
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
dca3d715aa
commit
b3c0494aa9
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue