diff options
Diffstat (limited to 'describe.c')
-rw-r--r-- | describe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/describe.c b/describe.c index 8a9cd5d52c..aa3434a4cb 100644 --- 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 == tag_type) + if (object->type == TYPE_TAG) prio = 2; else prio = 1; |