Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
combine-diff.c: type sanity
[gitweb.git]
/
describe.c
diff --git
a/describe.c
b/describe.c
index 8a9cd5d52c555330c512b977179ab030ccd28861..aa3434a4cbfe62563b7621ddd7e72be3adbea1cc 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 ==
tag_type
)
+ if (object->type ==
TYPE_TAG
)
prio = 2;
else
prio = 1;