Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-05-23 02:34:57 +0300
committerJunio C Hamano <gitster@pobox.com>2015-05-28 01:58:42 +0300
commitc2e0a718c66760efebf7b348aef48dc1f885bc2a (patch)
treecd81276abc7e90bc6501b97cf3c8ce221d8644d3 /refs.c
parent000f0da57aca00d6ff960f0763dee73c34cd7677 (diff)
ref_transaction_commit(): do not capitalize error messages
Our convention is for error messages to start with a lower-case letter. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/refs.c b/refs.c
index 2af4188ea4..6ae81e9744 100644
--- a/refs.c
+++ b/refs.c
@@ -3922,7 +3922,7 @@ int ref_transaction_commit(struct ref_transaction *transaction,
? TRANSACTION_NAME_CONFLICT
: TRANSACTION_GENERIC_ERROR;
reason = strbuf_detach(err, NULL);
- strbuf_addf(err, "Cannot lock ref '%s': %s",
+ strbuf_addf(err, "cannot lock ref '%s': %s",
update->refname, reason);
free(reason);
goto cleanup;
@@ -3945,7 +3945,7 @@ int ref_transaction_commit(struct ref_transaction *transaction,
* write_ref_to_lockfile():
*/
update->lock = NULL;
- strbuf_addf(err, "Cannot update the ref '%s'.",
+ strbuf_addf(err, "cannot update the ref '%s'.",
update->refname);
ret = TRANSACTION_GENERIC_ERROR;
goto cleanup;