Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nm/imap-send-with-curl' into next
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index 9c13c6817bd784fb9c0e3eff781911577ef7ef8c..e77163e909d07ec168d41d8b96e05afa73490848 100644
(file)
--- a/
builtin/describe.c
+++ b/
builtin/describe.c
@@
-508,7
+508,7
@@
int cmd_describe(int argc, const char **argv, const char *prefix)
hashmap_init(&names, commit_name_cmp, NULL, 0);
for_each_rawref(get_name, NULL);
- if (!
names.size
&& !always)
+ if (!
hashmap_get_size(&names)
&& !always)
die(_("No names found, cannot describe anything."));
if (argc == 0) {