/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove TYPE_* constant macros and use object_type enums consistently.
[git/git.git]
/
builtin-rev-list.c
diff --git
a/builtin-rev-list.c
b/builtin-rev-list.c
index
63bad0e
..
8f32871
100644
(file)
--- a/
builtin-rev-list.c
+++ b/
builtin-rev-list.c
@@
-167,16
+167,16
@@
static void show_commit_list(struct rev_info *revs)
const char *name = pending->name;
if (obj->flags & (UNINTERESTING | SEEN))
continue;
const char *name = pending->name;
if (obj->flags & (UNINTERESTING | SEEN))
continue;
- if (obj->type ==
TYPE
_TAG) {
+ if (obj->type ==
OBJ
_TAG) {
obj->flags |= SEEN;
add_object_array(obj, name, &objects);
continue;
}
obj->flags |= SEEN;
add_object_array(obj, name, &objects);
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;
}