Add support for "import" helper command
[gitweb.git] / builtin-describe.c
index 2dcfd3dfebdaad8fe87b8d09fa00b058f519ac5a..eaa8a9d229c97ebaab9ee3aa09d2456f68cd172c 100644 (file)
@@ -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) {