Skip to content

Commit

Permalink
Merge branch 'mr/bisect-save-pointer-to-const-string'
Browse files Browse the repository at this point in the history
Code cleanup.

* mr/bisect-save-pointer-to-const-string:
  bisect--helper: convert `*_warning` char pointers to char arrays.
  • Loading branch information
gitster committed Dec 25, 2019
2 parents c0c6a74 + 7c5cea7 commit 65099bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/bisect--helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,11 @@ static int mark_good(const char *refname, const struct object_id *oid,
return 1;
}

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

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

0 comments on commit 65099bd

Please sign in to comment.