diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-05-23 01:34:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-27 15:58:42 -0700 |
commit | c2e0a718c66760efebf7b348aef48dc1f885bc2a (patch) | |
tree | cd81276abc7e90bc6501b97cf3c8ce221d8644d3 /refs.c | |
parent | 000f0da57aca00d6ff960f0763dee73c34cd7677 (diff) | |
download | git-c2e0a718c66760efebf7b348aef48dc1f885bc2a.tar.gz git-c2e0a718c66760efebf7b348aef48dc1f885bc2a.tar.xz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |