Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
builtin-prune.c: forgot TYPE => OBJ changes.
author
Junio C Hamano
<junkio@cox.net>
Fri, 14 Jul 2006 06:37:52 +0000
(23:37 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 14 Jul 2006 06:37:52 +0000
(23:37 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-prune.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
1974632
)
diff --git
a/builtin-prune.c
b/builtin-prune.c
index ebdecee9280ab81831b08b59b832f4fb61cdc197..d196c41f13aee5992fe60febffa01ed4d640a97b 100644
(file)
--- 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;
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;
}
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;
}
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;
}
process_blob((struct blob *)obj, &objects, NULL, name);
continue;
}