diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-14 04:07:12 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-14 19:33:37 +0300 |
commit | 4279000d3e11a374a0a28d8284ca2774bd842c75 (patch) | |
tree | a7338cfc1b62f99b5f41697a4ac59fc0c23bd5f6 /builtin/pack-objects.c | |
parent | 47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc (diff) |
messages: avoid SHA-1 in end-user facing messages
There are still a handful mentions of SHA-1 when we meant the
(hexadecimal) object names in end-user facing messages. Rewrite
them.
I was hoping that this can mostly be s/SHA-1/object name/, but
a few messages needed rephrasing to keep the result readable.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-objects.c')
-rw-r--r-- | builtin/pack-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index 7016b28485..414f9f0043 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -3325,7 +3325,7 @@ static void get_object_list(int ac, const char **av) if (starts_with(line, "--shallow ")) { struct object_id oid; if (get_oid_hex(line + 10, &oid)) - die("not an SHA-1 '%s'", line + 10); + die("not an object name '%s'", line + 10); register_shallow(the_repository, &oid); use_bitmap_index = 0; continue; |