Skip to content

Commit 65099bd

Browse files
committed
Merge branch 'mr/bisect-save-pointer-to-const-string'
Code cleanup. * mr/bisect-save-pointer-to-const-string: bisect--helper: convert `*_warning` char pointers to char arrays.
2 parents c0c6a74 + 7c5cea7 commit 65099bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/bisect--helper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,11 @@ static int mark_good(const char *refname, const struct object_id *oid,
282282
return 1;
283283
}
284284

285-
static const char *need_bad_and_good_revision_warning =
285+
static const char need_bad_and_good_revision_warning[] =
286286
N_("You need to give me at least one %s and %s revision.\n"
287287
"You can use \"git bisect %s\" and \"git bisect %s\" for that.");
288288

289-
static const char *need_bisect_start_warning =
289+
static const char need_bisect_start_warning[] =
290290
N_("You need to start by \"git bisect start\".\n"
291291
"You then need to give me at least one %s and %s revision.\n"
292292
"You can use \"git bisect %s\" and \"git bisect %s\" for that.");

0 commit comments

Comments
 (0)