diff options
Diffstat (limited to 'builtin-describe.c')
-rw-r--r-- | builtin-describe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-describe.c b/builtin-describe.c index 2dcfd3dfeb..eaa8a9d229 100644 --- a/builtin-describe.c +++ b/builtin-describe.c @@ -351,7 +351,7 @@ int cmd_describe(int argc, const char **argv, const char *prefix) } for_each_ref(get_name, NULL); - if (!found_names) + if (!found_names && !always) die("No names found, cannot describe anything."); if (argc == 0) { |