author | Junio C Hamano <gitster@pobox.com> | |
Tue, 13 Nov 2007 05:13:05 +0000 (21:13 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 19 Nov 2007 03:11:42 +0000 (19:11 -0800) | ||
commit | 625db1b7530b621f32b0ef1ef502a09a05872f5d | |
tree | 1805dcd5be151310ca6ccbf6b54a1a4990bec69e | tree | snapshot |
parent | 113f10f22f4b3b599e44e192e241e0bace9cc39e | commit | diff |
git-clean: Fix error message if clean.requireForce is not set.
It was distracting to see this error message:
clean.requireForce set and -n or -f not given; refusing to clean
even though clean.requireForce was not set at all. This patch distinguishes
the cases and gives a different message depending on whether the
configuration variable is not set or set to true.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
It was distracting to see this error message:
clean.requireForce set and -n or -f not given; refusing to clean
even though clean.requireForce was not set at all. This patch distinguishes
the cases and gives a different message depending on whether the
configuration variable is not set or set to true.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clean.c | diff | blob | history |