We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d588d4d + 3310048 commit 67b5440Copy full SHA for 67b5440
1 file changed
builtin/cat-file.c
@@ -75,8 +75,6 @@ static int cat_one_file(int opt, const char *exp_type, const char *obj_name)
75
if (type_from_string(exp_type) == OBJ_BLOB) {
76
unsigned char blob_sha1[20];
77
if (sha1_object_info(sha1, NULL) == OBJ_TAG) {
78
- enum object_type type;
79
- unsigned long size;
80
char *buffer = read_sha1_file(sha1, &type, &size);
81
const char *target;
82
if (!skip_prefix(buffer, "object ", &target) ||
0 commit comments