mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
code and test: fix misuses of "nor"
Signed-off-by: Justin Lebar <jlebar@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
01689909eb
commit
235e8d5914
@@ -903,11 +903,11 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
|
||||
|
||||
if (!interactive && !dry_run && !force) {
|
||||
if (config_set)
|
||||
die(_("clean.requireForce set to true and neither -i, -n nor -f given; "
|
||||
die(_("clean.requireForce set to true and neither -i, -n, nor -f given; "
|
||||
"refusing to clean"));
|
||||
else
|
||||
die(_("clean.requireForce defaults to true and neither -i, -n nor -f given; "
|
||||
"refusing to clean"));
|
||||
die(_("clean.requireForce defaults to true and neither -i, -n, nor -f given;"
|
||||
" refusing to clean"));
|
||||
}
|
||||
|
||||
if (force > 1)
|
||||
|
||||
Reference in New Issue
Block a user