From 3553944aa8ca05fef7c24c5aa98c7de4bb3167d5 Mon Sep 17 00:00:00 2001 From: Michael Haggerty Date: Mon, 11 May 2015 17:25:19 +0200 Subject: 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 --- refs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'refs.c') 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; -- cgit v1.3-5-g9baa