]> git.ipfire.org Git - thirdparty/git.git/commit - sha1-file.c
prefer "hash mismatch" to "sha1 mismatch"
authorJeff King <peff@peff.net>
Mon, 7 Jan 2019 08:40:34 +0000 (03:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Jan 2019 17:41:06 +0000 (09:41 -0800)
commit01f8d5948a7f370c42d9fe2deb724139a1bfcb7b
tree796eed07f27c8e12a203463558763320b2e4aeb4
parent2c319886c04c5e77da55c66ee9e860b101e5af32
prefer "hash mismatch" to "sha1 mismatch"

To future-proof ourselves against a change in the hash, let's use the
more generic "hash mismatch" to refer to integrity problems. Note that
we do advertise this exact string in git-fsck(1). However, the message
itself is marked for translation, meaning we do not expect it to be
machine-readable.

While we're touching that documentation, let's also update it for
grammar and clarity.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fsck.txt
object.c
sha1-file.c
t/t1450-fsck.sh