builtin-prune.c: forgot TYPE => OBJ changes.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
1974632c66
commit
e5a78b1ca8
@ -158,15 +158,15 @@ static void walk_commit_list(struct rev_info *revs)
|
|||||||
struct object_array_entry *pending = revs->pending.objects + i;
|
struct object_array_entry *pending = revs->pending.objects + i;
|
||||||
struct object *obj = pending->item;
|
struct object *obj = pending->item;
|
||||||
const char *name = pending->name;
|
const char *name = pending->name;
|
||||||
if (obj->type == TYPE_TAG) {
|
if (obj->type == OBJ_TAG) {
|
||||||
process_tag((struct tag *) obj, &objects, name);
|
process_tag((struct tag *) obj, &objects, name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (obj->type == TYPE_TREE) {
|
if (obj->type == OBJ_TREE) {
|
||||||
process_tree((struct tree *)obj, &objects, NULL, name);
|
process_tree((struct tree *)obj, &objects, NULL, name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (obj->type == TYPE_BLOB) {
|
if (obj->type == OBJ_BLOB) {
|
||||||
process_blob((struct blob *)obj, &objects, NULL, name);
|
process_blob((struct blob *)obj, &objects, NULL, name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user