diff options
author | Jeff King <peff@peff.net> | 2023-09-17 00:11:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-17 02:26:53 +0200 |
commit | 24c5a270d10a7857cc3f0e6f3b04933f69ee2c8c (patch) | |
tree | 04abaa22af11cf8f1fbc2ef777a430329618783f /merge-ort.c | |
parent | merge-ort: drop unused "opt" parameter from merge_check_renames_reusable() (diff) | |
download | git-24c5a270d10a7857cc3f0e6f3b04933f69ee2c8c.tar.xz git-24c5a270d10a7857cc3f0e6f3b04933f69ee2c8c.zip |
merge-ort: lowercase a few error messages
As noted in CodingGuidelines, error messages should not be capitalized.
Fix up a few of these that were copied verbatim from merge-recursive to
match our modern style.
We'll likewise fix up the matching ones from merge-recursive. We care a
bit less there, since the hope is that it will eventually go away. But
besides being the right thing to do in the meantime, it is necessary for
t6406 to pass both with and without GIT_TEST_MERGE_ALGORITHM set (one of
our CI jobs sets it to "recursive", which will use the merge-recursive.c
code). An alternative would be to use "grep -i" in the test to check
the message, but it's nice for the test suite to be be more exact (we'd
notice if the capitalization fix regressed).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-ort.c')
-rw-r--r-- | merge-ort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/merge-ort.c b/merge-ort.c index 3953c9f745..7857ce9fbd 100644 --- a/merge-ort.c +++ b/merge-ort.c @@ -2105,12 +2105,12 @@ static int handle_content_merge(struct merge_options *opt, &result_buf); if ((merge_status < 0) || !result_buf.ptr) - ret = error(_("Failed to execute internal merge")); + ret = error(_("failed to execute internal merge")); if (!ret && write_object_file(result_buf.ptr, result_buf.size, OBJ_BLOB, &result->oid)) - ret = error(_("Unable to add %s to database"), path); + ret = error(_("unable to add %s to database"), path); free(result_buf.ptr); if (ret) |