From: Junio C Hamano Date: Fri, 14 Jul 2006 06:37:52 +0000 (-0700) Subject: builtin-prune.c: forgot TYPE => OBJ changes. X-Git-Tag: v1.4.2-rc1~5^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e5a78b1ca8b62aee8567d67f0e0db5ac7706806a;p=git.git builtin-prune.c: forgot TYPE => OBJ changes. Signed-off-by: Junio C Hamano --- diff --git a/builtin-prune.c b/builtin-prune.c index ebdecee92..d196c41f1 100644 --- a/builtin-prune.c +++ b/builtin-prune.c @@ -158,15 +158,15 @@ static void walk_commit_list(struct rev_info *revs) struct object_array_entry *pending = revs->pending.objects + i; struct object *obj = pending->item; const char *name = pending->name; - if (obj->type == TYPE_TAG) { + if (obj->type == OBJ_TAG) { process_tag((struct tag *) obj, &objects, name); continue; } - if (obj->type == TYPE_TREE) { + if (obj->type == OBJ_TREE) { process_tree((struct tree *)obj, &objects, NULL, name); continue; } - if (obj->type == TYPE_BLOB) { + if (obj->type == OBJ_BLOB) { process_blob((struct blob *)obj, &objects, NULL, name); continue; }