]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/pack-objects.c
messages: avoid SHA-1 in end-user facing messages
[thirdparty/git.git] / builtin / pack-objects.c
index 7016b28485b43f9df360f4f6df23cb7e0e3881dd..414f9f0043cdef1d83824d037993af3185225565 100644 (file)
@@ -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;