Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix installation of templates on ancient systems.
[gitweb.git]
/
describe.c
diff --git
a/describe.c
b/describe.c
index 8e68d5df3303ed75c2fbb9c8b3d1025785a622c7..324ca8965b9512de59b515cdcc29801022553d1d 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;