Skip to content

Commit d2c030d

Browse files
committed
tag.c: whitespace breakages fix
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 55b4e9e commit d2c030d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tag.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ struct tag *lookup_tag(const unsigned char *sha1)
2828
return create_object(sha1, OBJ_TAG, alloc_tag_node());
2929
if (!obj->type)
3030
obj->type = OBJ_TAG;
31-
if (obj->type != OBJ_TAG) {
32-
error("Object %s is a %s, not a tag",
33-
sha1_to_hex(sha1), typename(obj->type));
34-
return NULL;
35-
}
36-
return (struct tag *) obj;
31+
if (obj->type != OBJ_TAG) {
32+
error("Object %s is a %s, not a tag",
33+
sha1_to_hex(sha1), typename(obj->type));
34+
return NULL;
35+
}
36+
return (struct tag *) obj;
3737
}
3838

3939
int parse_tag_buffer(struct tag *item, void *data, unsigned long size)
@@ -44,9 +44,9 @@ int parse_tag_buffer(struct tag *item, void *data, unsigned long size)
4444
char type[20];
4545
const char *start = data;
4646

47-
if (item->object.parsed)
48-
return 0;
49-
item->object.parsed = 1;
47+
if (item->object.parsed)
48+
return 0;
49+
item->object.parsed = 1;
5050

5151
if (size < 64)
5252
return -1;

0 commit comments

Comments
 (0)