/
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]
/
describe.c
diff --git
a/describe.c
b/describe.c
index
8e68d5d
..
324ca89
100644
(file)
--- a/
describe.c
+++ b/
describe.c
@@
-67,7
+67,7
@@
static int get_name(const char *path, const unsigned char *sha1)
* Otherwise only annotated tags are used.
*/
if (!strncmp(path, "refs/tags/", 10)) {
- if (object->type ==
TYPE
_TAG)
+ if (object->type ==
OBJ
_TAG)
prio = 2;
else
prio = 1;