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-11 18:25:19 +0300
committerJunio C Hamano <gitster@pobox.com>2015-05-11 21:50:20 +0300
commit3553944aa8ca05fef7c24c5aa98c7de4bb3167d5 (patch)
tree87d1310a8772a2cc4c04e790685ea4da1af55e92 /refs.c
parentcbaabcbc6fa9568269d6baeccb0a621cd0413c6c (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index ecaf80499e..bc4b1ab8b7 100644
--- a/refs.c
+++ b/refs.c
@@ -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;