projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-tar-tree: documentation update
[git.git]
/
describe.c
diff --git
a/describe.c
b/describe.c
index
8a9cd5d
..
aa3434a
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)) {
* 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;
prio = 2;
else
prio = 1;