X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-clean.c;h=fac64e6cd3717dfffb0f54124de9545f7cdc391a;hb=28bf4ba014c9b41679f41580fa9e1cc294b240d9;hp=3a70fa81bdd8f0e087476560f7c2f668a3cda0ea;hpb=1f73566af5bec28cd8489c6139a9ede95817349c;p=git.git diff --git a/builtin-clean.c b/builtin-clean.c index 3a70fa81b..fac64e6cd 100644 --- a/builtin-clean.c +++ b/builtin-clean.c @@ -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;