Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ref_transaction_commit(): delete extra "the" from error message
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index ecaf80499e888a4d645a34ba3bff4d46a9769f09..bc4b1ab8b71b2d2e740426494a5b6fababb84bd0 100644
(file)
--- 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;