diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-05-11 17:25:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-11 11:50:20 -0700 |
commit | 3553944aa8ca05fef7c24c5aa98c7de4bb3167d5 (patch) | |
tree | 87d1310a8772a2cc4c04e790685ea4da1af55e92 /refs.c | |
parent | cbaabcbc6fa9568269d6baeccb0a621cd0413c6c (diff) | |
download | git-3553944aa8ca05fef7c24c5aa98c7de4bb3167d5.tar.gz |
ref_transaction_commit(): delete extra "the" from error message
While we are in the area, let's remove a superfluous definite article
from the error message that is emitted when the reference cannot be
locked. This improves how it reads and makes it a bit shorter.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3844,7 +3844,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 the ref '%s': %s", + strbuf_addf(err, "Cannot lock ref '%s': %s", update->refname, reason); free(reason); goto cleanup; |