@matheusbsbs / matheus-bagliano / commits / e5a78b1ca8
Fork 0

builtin-prune.c: forgot TYPE => OBJ changes.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Jul 13, 2006 at 23:37 UTC e5a78b1ca8b62aee8567d67f0e0db5ac7706806a
1 file changed +3 -3
builtin-prune.c
+3 -3
@@ -158,15 +158,15 @@ static void walk_commit_list(struct rev_info *revs)
158 struct object_array_entry *pending = revs->pending.objects + i;
159 struct object *obj = pending->item;
160 const char *name = pending->name;
161 - if (obj->type == TYPE_TAG) {
161 + if (obj->type == OBJ_TAG) {
162 process_tag((struct tag *) obj, &objects, name);
163 continue;
164 }
165 - if (obj->type == TYPE_TREE) {
165 + if (obj->type == OBJ_TREE) {
166 process_tree((struct tree *)obj, &objects, NULL, name);
167 continue;
168 }
169 - if (obj->type == TYPE_BLOB) {
169 + if (obj->type == OBJ_BLOB) {
170 process_blob((struct blob *)obj, &objects, NULL, name);
171 continue;
172 }