diff options
author | Jeff King <peff@peff.net> | 2019-01-07 03:39:33 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-08 09:41:06 -0800 |
commit | 2c319886c04c5e77da55c66ee9e860b101e5af32 (patch) | |
tree | b8d414b9f62bca7e79565f2388177aec50236ff0 /rebase-interactive.h | |
parent | sha1-file: prefer "loose object file" to "sha1 file" in messages (diff) | |
download | tgif-2c319886c04c5e77da55c66ee9e860b101e5af32.tar.xz |
sha1-file: avoid "sha1 file" for generic use in messages
These error messages say "sha1 file", which is vague and not common in
user-facing documentation. Unlike the conversions from the previous
commit, these do not always refer to loose objects.
In finalize_object_file() we could be dealing with a packfile. Let's
just say "unable to write file" instead; since we include the filename,
the nature of the file is clear from the rest of the message.
In force_object_loose(), we're calling into read_object(), which could
actually be _any_ type of object. Just say "object".
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'rebase-interactive.h')
0 files changed, 0 insertions, 0 deletions