diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-05-23 01:34:56 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-27 15:58:42 -0700 |
commit | 000f0da57aca00d6ff960f0763dee73c34cd7677 (patch) | |
tree | e11157be8cc4f1653cd369d36b9c99ae66520ebd /refs.c | |
parent | 33ffc176d65e1e98e1eea262dc7827830c33c56d (diff) | |
download | git-000f0da57aca00d6ff960f0763dee73c34cd7677.tar.gz git-000f0da57aca00d6ff960f0763dee73c34cd7677.tar.xz |
verify_lock(): 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
@@ -2234,12 +2234,12 @@ static int verify_lock(struct ref_lock *lock, mustexist ? RESOLVE_REF_READING : 0, lock->old_sha1, NULL)) { int save_errno = errno; - strbuf_addf(err, "Can't verify ref %s", lock->ref_name); + strbuf_addf(err, "can't verify ref %s", lock->ref_name); errno = save_errno; return -1; } if (hashcmp(lock->old_sha1, old_sha1)) { - strbuf_addf(err, "Ref %s is at %s but expected %s", + strbuf_addf(err, "ref %s is at %s but expected %s", lock->ref_name, sha1_to_hex(lock->old_sha1), sha1_to_hex(old_sha1)); |