]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-clean.c
fast-import: introduce "feature notes" command
[thirdparty/git.git] / builtin-clean.c
index 3a70fa81bdd8f0e087476560f7c2f668a3cda0ea..fac64e6cd3717dfffb0f54124de9545f7cdc391a 100644 (file)
@@ -67,8 +67,8 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
                die("-x and -X cannot be used together");
 
        if (!show_only && !force)
-               die("clean.requireForce%s set and -n or -f not given; "
-                   "refusing to clean", config_set ? "" : " not");
+               die("clean.requireForce %s to true and neither -n nor -f given; "
+                   "refusing to clean", config_set ? "set" : "defaults");
 
        if (force > 1)
                rm_flags = 0;