Merge branch 'jc/object-names-are-not-sha-1'
A few end-user facing messages have been updated to be hash-algorithm agnostic. * jc/object-names-are-not-sha-1: messages: avoid SHA-1 in end-user facing messages
This commit is contained in:
@ -3357,7 +3357,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;
|
||||
|
||||
Reference in New Issue
Block a user