tag.c: whitespace breakages fix
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Sep 5, 2010 at 22:32 UTC
d2c030d4773f1f00165bffc34e2487043df326e7
1 file changed
+9
-9
tag.c
+9
-9
@@ -28,12 +28,12 @@ struct tag *lookup_tag(const unsigned char *sha1)
28
return create_object(sha1, OBJ_TAG, alloc_tag_node());
29
if (!obj->type)
30
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;
37
}
38
39
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)
44
char type[20];
45
const char *start = data;
46
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;
50
51
if (size < 64)
52
return -1;