projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca3d71
)
checkout: add missing const to describe_detached_head
author
Jonathan Nieder
<jrnieder@gmail.com>
Tue, 22 Feb 2011 22:43:22 +0000
(22:43 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 23 Feb 2011 00:51:20 +0000
(16:51 -0800)
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
patch
|
blob
|
history
diff --git
a/builtin/checkout.c
b/builtin/checkout.c
index cd7f56e6c4b6e1b1059ffa0eae91b46e579b9e97..bef324e4717fbe73da852c49c664e02d70955fc9 100644
(file)
--- a/
builtin/checkout.c
+++ b/
builtin/checkout.c
@@
-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(c
onst c
har *msg, struct commit *commit)
{
struct strbuf sb = STRBUF_INIT;
struct pretty_print_context ctx = {0};