summaryrefslogtreecommitdiff
path: root/builtin-prune.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-14 06:37:52 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-14 06:37:52 (GMT)
commite5a78b1ca8b62aee8567d67f0e0db5ac7706806a (patch)
treea6a51f523f6ec691f24bc085bd05ec9decb6122e /builtin-prune.c
parent1974632c664c2d573b36a00fa993c1c13dd8a967 (diff)
downloadgit-e5a78b1ca8b62aee8567d67f0e0db5ac7706806a.zip
git-e5a78b1ca8b62aee8567d67f0e0db5ac7706806a.tar.gz
git-e5a78b1ca8b62aee8567d67f0e0db5ac7706806a.tar.bz2
builtin-prune.c: forgot TYPE => OBJ changes.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-prune.c')
-rw-r--r--builtin-prune.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin-prune.c b/builtin-prune.c
index ebdecee..d196c41 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;
}